Questions tagged as 'java'

1
answer

Error adding the array with double data

The code below works as it should, in case anyone wants to use it, I thank all those who commented Giving linear algebra are teaching me operations with vectors and to simplify my life I wanted to make a code for this, I am not very profi...
asked by 31.05.2018 / 09:03
1
answer

Error creating bean with name 'adminServiceDAOImpl': Unsatisfied dependency expressed through field 'adminDao';

hi how I have this error:    Error creating bean with name 'adminServiceDAOImpl': Unsatisfied   dependence expressed through field 'adminDao'; public interface AdminDao { public boolean save(Admin admin); public List<Admin>...
asked by 25.06.2018 / 19:59
1
answer

Show image in Java from project directory

I'm doing a web project with JSF and PrimeFaces. When I save an image in the directory of my project and I want to use it at that moment, eclipse shows me this error saying that it does not find the specified route: I have to update the...
asked by 01.07.2016 / 17:29
1
answer

Error creating a Release of my Android App

I'm making an App with AndroidStudio 2.1 In Debut mode, it runs well and does what it should do, but at the time of compiling in Release mode, it does not do it and sends the following errors: Does anyone know what I am doi...
asked by 16.07.2016 / 03:25
1
answer

Error sending json parameters by the PUT method in WebService client with java and jersey

I have a WebService client side application in JAVA and server side in PHP. I am trying to send a request with json parameters by CURL command as seen below: curl -H 'Content-Type:application/json' -X PUT -d path=4920 -d message="I love yo...
asked by 15.09.2017 / 16:34
1
answer

How to share image on social networks, android?

I'm trying to share an image on social networks, which I get from a URL I tried several ways and I have not succeeded, I use retrofit2 to show the content of the application. Thank you very much in advance Here I get the url of the image...
asked by 07.08.2017 / 00:28
2
answers

Error: code too large

I have the following arraylist : Polylines , the arraylist has 190 elements, which when compiled I get the following error:    error: code too large According to what I'm investigating, it's a java error, but I do not know h...
asked by 24.06.2017 / 01:33
1
answer

Error loading image path (Sqlite)

I select an image from the gallery and I save the path in Sqlite and up there everything is fine, the problem comes when trying to load the image, it shows ImageView empty and in Logcat I receive twice:    Unable to decod...
asked by 01.07.2017 / 13:57
1
answer

Configure Spring Boot with two DataSources

I am using Spring Boot 2.X with Hibernate 5.X to connect two MySQL databases (Bar and Foo). I want to be able to list the different entities, with all their attributes (ID, Name and relationships @OneToMany/@ManyToOne ), of each of the...
asked by 07.03.2018 / 16:31
1
answer

Is there an equivalent to cin.clear () and cin.ignore () in Java?

I have a method that helps me to validate variables int , but when I pass them from C ++ to Java the ignore and clear methods do not work for me. Is there any equivalent to those functions in Java ? int ValidaInt(){...
asked by 14.05.2017 / 00:23