Questions tagged as 'java'

0
answers

Consume Webservice through Java

I have been given the following wsdl: <?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.or...
asked by 17.08.2018 / 22:32
1
answer

Return null when using variable of type Double

I'm having difficulties in some methods (when it will have to return or when it is void, parameters or not etc). Why does the last two Employee methods return null? package employee; public class Employee { private String firstName,lastN...
asked by 20.08.2018 / 12:51
0
answers

I / ERROR: com.android.volley.ParseError: org.json.JSONException: Value of type java.lang.String can not be converted to JSONObject

Error: I/ERROR: com.android.volley.ParseError: org.json.JSONException: Value codigo of type java.lang.String cannot be converted to JSONObject My code in Android Studio: @Override public View onCreateView(LayoutInflater inflater,...
asked by 27.08.2018 / 00:03
2
answers

Socket between 2 devices

I would like to send data between different machines, between 2 computers, between a computer and an Android . I made the example internally, on the same computer, but when I disconnect (the server stays on one computer and the client goes t...
asked by 26.08.2018 / 21:18
0
answers

How to insert multiple values entered by the user into the dictionary in Java?

I want to allow multiple pairs (key, value) to be entered into a dictionary, in Java, from values entered by the user. I made a loop for to try to insert, but I could not, because every time a new pair (key, value) is inserted, it overwri...
asked by 25.08.2018 / 06:48
0
answers

Error in Eclipse using Tomcat server 9.0 Tomcat - Error 404

I'm trying to run a web site using Tomcat9 Servlet, where the user will enter his salary, and according to the salary range, a readjustment will be made at that old salary! The language used is JAVA I created the Beans and Web Packages, which...
asked by 25.08.2018 / 19:30
0
answers

Server does not start, triggering c3p0 pool error ... com.mchange.v2.c3p0.ComboPooledDataSource

When I give Start to Tomcat it locks in c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource and then triggers the error quoted below. The configuration class follows: @Configuration @EnableTransactionManagement @Enab...
asked by 21.08.2018 / 18:25
0
answers

Logger for Spring Boot in real time

I'm looking for some tool that can connect to the production server to get real-time logger, would that be possible? I deployed an application in Heroku and would like to see the log off the heroku platform, does anyone know something similar...
asked by 23.08.2018 / 19:48
0
answers

Doubts the transitions of an object between Beans JSF

I have a login class that instantiates a CLIENTID attribute in the session after the client logs in LoginBean.java public void efetuarLogin() throws IOException{ cliente = clientePU.clientePorEmail(email); System.out.println(email);...
asked by 16.08.2018 / 20:43
1
answer

Generate SH1 key facebook login

Good evening, I'm trying to implement a facebook login in my project, but I can not generate it, could you help me? Windows You will need the following: Ferramenta de gerenciamento de certificado e chave (keytool) do Kit de desenvolvimento Jav...
asked by 16.08.2018 / 04:49