Questions tagged as 'java'

0
answers

Error generating jar in grandle

How about, I have a small to big problem, I have the following situation: I want to generate a jar with the dependencies downloaded inside it, but I can not get it to work, here my build.gradle: dependencies { // The production code use...
asked by 16.01.2018 / 19:29
0
answers

Java: method that stores the parameters [closed]

I'm doing a DAO and I need to insert in two different tables in the BDs. I know I can do it with Autocommit . But the idea is to go through the different inserts as a parameter and use the Autocommit in the method.  The code simplif...
asked by 28.12.2017 / 16:58
0
answers

oracle encryption with java

It is possible to obtain the same result of the encryption with oracle 10g (DBMS_OBFUSCATION_TOOLKIT.des3encrypt) and of a java version jdk1.6. JAVA CLASS import java.io.UnsupportedEncodingException; import java.security.GeneralSecurityEx...
asked by 08.01.2018 / 23:14
1
answer

can not be @Required or @NotNull

When using version 4.3.3 of REALM for android development I get the following error: Error:Field "groupName" with type "pizware.evaluapp.Models.Group" cannot be @Required or @NotNull. but I do not use any of those labe...
asked by 01.02.2018 / 01:29
1
answer

relative paths Spring Boot with server.contextPath

Friends, how can I work with relative paths in spring boot with server.contextPath = / test, it's to find a jasperReport file     
asked by 01.02.2018 / 20:03
6
answers

What is the solution to all present, past and future NullPointerException errors?

I have my Java program and I get a NullPointerException and I have seen other questions but they are from people with other programs and it does not work for my program and I want to leave here the 2,000 lines of my program so that you solve the...
asked by 08.01.2017 / 18:54
0
answers

Problem in matrix of "minesweeper" in java?

Good, I explain the situation, I am not an expert in programming and I am a nobel student in terms of programming, I only have 3 or 4 months in a higher degree of programming and I do what I can. They gave us for Christmas a small project to rec...
asked by 27.12.2017 / 11:15
2
answers

Problems with setSupportActionBar (toolbar) in android studio

I am new to the world of mobile programming and I had a problem when creating a toolbar in the java code, this does not recognize the object created with the name toolbar in setSupportActionBar (toolbar), here is the code: package com.example....
asked by 27.12.2017 / 20:15
0
answers

Problem when creating multiple objects, the variables are the same for some reason

I'm doing a small neural network that detects the letter the thing is that I get stuck on something that may seem basic, I create a neuron object for each letter, it's only those 7, each letter has 3 different letters as well as pixels something...
asked by 04.06.2018 / 20:29
0
answers

Create arrayList from list of people pasted in text box and pass it to JList [closed]

I am in NetBeans doing a Java lottery application in which the number of winners is entered (both incumbents and substitutes, in case the former can not receive the prize), the list of winners is loaded. names in the text box and it is drawn....
asked by 03.01.2018 / 19:45