Questions tagged as 'java'

1
answer

Error executing code in netbeans (JAVAFX)

The error is as follows (remembering that only happens in javaFX, in swing everything works normal): Exception in Application start method java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Meth...
asked by 20.08.2018 / 18:18
1
answer

Error api sky: No HTTP resource was found that match the request

In a test in heaven's father I get the message: URI ' link ' {"Message":"No HTTP resource was found that matches the request URI 'https://apiquerysandbox.cieloecommerce.cielo.com.br/1/sales/'."} I'm sending in jman postman: { "Merch...
asked by 20.08.2018 / 16:35
1
answer

Error executing the servlet

When running my project. I received an error message. The tomcant is running and I have a contact class and a servlet add contact. Contact Code package com.dev; import java.util.Date; public class Contato { private String nome;...
asked by 23.08.2018 / 00:46
3
answers

Java: How do I store a vector in another vector and using library Math

My question is this, I have to read 20 integers in a vector and then I have to calculate the square of that vector and store it in another one and then display the two. Only at the time of making the square I use a java library which is the M...
asked by 23.08.2018 / 18:53
1
answer

Doubt Http x Https Android

I'm creating an Android app. This one calls PHP files via HttpPost. I ask: what changes I call with https instead of http (I will use https, already with certificate on the server installed). The doubt would be in practice, what changes in...
asked by 15.03.2016 / 20:57
1
answer

java.lang.NoClassDefFoundError: Could not initialize class com.ailson.mavenproj.factory.JPAUtil

I am having to do a simple insert into the java web database using JPA, hibernate and maven. The problem is that java.lang.NoClassDefFoundError is appearing, and I can not see where the error is. Take a look at Stack Trace below: jav...
asked by 04.05.2018 / 19:50
1
answer

how to close the input when using .hasNext () in java? [closed]

I'm using a code that uses Scanner (which I named input ) and uses while(input.hasNextLine()) , but it does not stop asking for entries, I know it has a specific command for it (something like /n ) but I can not remembe...
asked by 14.05.2018 / 03:11
1
answer

How to open a direct url in facebook application?

I have a webview where the social networks are registered through the links, example :( " link " etc etc ..) But only for facebook it is open in the browser and not in the app. Can someone help me? I would like you to open this user's profile...
asked by 21.05.2018 / 18:52
2
answers

Any IDE similar to Android Studio?

I'm learning Java, and I highly recommend Android Studio. My Notebook is a Core i3 with 4GB of ram, I was also told that with 4 ram is almost impossible to try to mess with java. Is this true? Even because I'm not thinking of upgrading in note j...
asked by 03.02.2018 / 00:47
1
answer

Doubts with JSF

Well, I'm recently in Java WEB and I have some doubts in JavaServ Faces, and I would like to understand, to be able to manipulate well, etc. So if anyone can clear my doubts, I'll be grateful. NOTE: I'm using JSF with MVC standard 1)...
asked by 08.12.2018 / 07:31