Questions tagged as 'java'

0
answers

how to make an onclick to another class in OneSignal

I want to make OneSignal open another activity in android studio. Follow the activity with the handler. OneSignal.startInit(this) .setNotificationReceivedHandler(new PlocarNotificationReceivedHandler()) .setNot...
asked by 05.12.2018 / 19:31
1
answer

Limit @OneToMany List

Good morning everyone! I have some problems in a list that in some cases I do not need to return it completely @OneToMany(mappedBy="local", cascade=CascadeType.ALL, fetch = FetchType.EAGER) @OrderBy("dataContagem DESC") private List<Contage...
asked by 04.12.2018 / 12:46
1
answer

JTable getValueAt () behaving differently than expected

I have a JFrame where there is a JTable that displays some data. When the user selects some records and clicks a certain button, these selected records must be deleted. When only one record is selected, everything works perfectly, but problem...
asked by 19.11.2016 / 02:22
0
answers

Check if a value exists in the Firebase Realtime Database

I have a database with this structure: Whathappensisthatwhencreatinganewuser,Ineedtocheckifthereisnolongeranequalregisterednickname,butIcannotdothat.Hereisthecodethatisgoingwrong,withsomecommentsofwhatIthinkshouldberight:if(edtCadSenha.getTe...
asked by 04.12.2018 / 14:25
1
answer

javahome installer argument (PSSAV)

Hello, good evening! I need to install PSSAV for a college exercise. However it displays the dialog box below: I happen to be running version 8 of the JDK. The information that I can validate the location of the JDk also was not very clear...
asked by 05.12.2018 / 00:43
0
answers

Can not resolve the name 'ds: SignatureType' to a 'type definition' component

In Java, when having validate an XML by XSD I'm getting the message:    Can not resolve the name 'ds: SignatureType' to a 'type definition' component. I have a REST service that receives an input XML, then validates the same with XSD and...
asked by 04.12.2018 / 11:56
0
answers

Wheel in eclipse but the project build with orjdbc7.rar jar does not work

Hello, how are you? I'm having trouble generating .jar from a Spring Boot + Maven project In Eclipse it runs smoothly But when I run the build with this command ./mvnw package && java -jar target/ff-back-boilerplate-0.0.1-SNAPSHO...
asked by 03.12.2018 / 22:22
0
answers

Printing in Java

I'm trying to print files through Java using Swing but the printer does not respond. The code gives no error or exception (apparent). Would anyone know what the problem is? public static void main(String[] args) { DocFlavor docFlavor = Doc...
asked by 03.12.2018 / 18:56
0
answers

Tomcat 8.0.38 does not find Applications after switching from Primefaces 5.1 to 6.2

Even with all dependencies included the project is not found and returns the notorious screen "description The requested resource is not available." The funny thing is that even returning the primefaces to 5.1 Tomcat 8.0.38 does not find the...
asked by 03.12.2018 / 18:29
0
answers

LocationClientHelper: exception when setting module id

Good evening guys, I'm at the end of my application, but I'm going through a problem that I have no idea how to solve since 2 days I've been working on it. After implementing a sdk of Ads (AppLovin) I noticed that this failure started, due to...
asked by 01.12.2018 / 00:35