Questions tagged as 'java'

0
answers

java rmi UnmarshalException - Driver

I am trying to insert a consumer in a consumer table from my CreateUserController. From that CreateUserController class I get the attributes to save my consumer in the database. This is my CreateUserControler class import javafx.event.Actio...
asked by 21.10.2018 / 15:55
0
answers

How to fill Recycler of a Fragment with data sent from another Fragment

In the Fragment1 I send a name and a phone to the Fragment2 I use the following example to try to fill the Recycler of the Second Fragment the communication works because I tried it adapting it to my needs, what I want to do now is to fill a Rec...
asked by 22.10.2018 / 14:27
1
answer

How to print the response of a servlet in a jsp by means of an alert

Hello, I am going to do a few exercises from the university for the java programming class. What I have to do in this is a login, then I enter the user and a password, which go in 2 text boxes that are in a jsp, by clicking the button sends t...
asked by 21.10.2018 / 19:07
0
answers

Error configuration single sign on CAS Server

I'm trying to create a java application which redirects to other applications for which it uses cas server 5.3 to authenticate the users, the problem comes when I try to redirect the applications because the session is saved but only for that ap...
asked by 14.09.2018 / 16:49
1
answer

Recyclerview shows repeated data

I have 2 records inserted in a SQLite table and I load them into an array to show them in a recyclerview with an Adapter, but in the recyclerview it shows me the second record twice, here I leave the code: @Override public View onCreateVie...
asked by 16.09.2018 / 03:55
0
answers

Spring + Wss4j The private key for the supplied alias does not exist in the keystore

Good evening community. Well, I've been breaking my head with this issue for several days, it happens that I'm using Apache wss4j to ensure by means of certificates the calls to a set of web services in SOAP. This configuration I'm doing thro...
asked by 10.09.2018 / 03:51
0
answers

Add records to the database with JAVA and batch

I have the following code in a class called BD , import java.io.FileNotFoundException; import java.io.FileReader; import java.io.BufferedReader; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import...
asked by 06.09.2018 / 13:16
0
answers

Connection timed out: no further information. Verify the connection properties

Something very strange happened, I'm doing a web application in java with app engine and sql server using rest services, everything works apparently fine, but only once, that is, I have an endpoint that connects to a database and runs a Store Pr...
asked by 07.09.2018 / 15:54
1
answer

Error with notifyItemInserted () when sending an Android Studio message: Error inflating class android.support.v4.widget.CircleImageView

I am making a simple chat app, when I write a message and show it on the screen the app stops, I suspect that the error is in notifyItemInserted () and I would like to know if I am misusing the function or if it exists another way to make messag...
asked by 06.09.2018 / 15:12
2
answers

Problem with getResource () when getting an image

I have a package called app and within this I have two packages one called res and another graphics, within this last one I have a class with a method, which is responsible for creating an ImageView private ImageView getImageViewFrom(String pa...
asked by 13.09.2018 / 16:35