Questions tagged as 'java'

0
answers

Problems with java strings

I am doing a migration of data from a csv file to a H2 database. In this process I use the beanio to read the file and transform it into objects and then persist the objects in the base using jpa + hibernate. The problem is strange because wh...
asked by 01.02.2018 / 15:38
0
answers

___ ___ erkimt error in the configuration log4j2.properties ______ qstntxt ___

My error:

%pre%

My log4j2.properties configuration file

%pre%

Statement:

%pre%

Validation:

%pre%

The console part is apparently ok. But no file is created

    
___

My error: 2018-02-02 03:31:07,300 main ERROR The parameter is null: fileName 2018-02-02 03:31:07,316 main ERROR Could not create plugin of type class org.apache.logging.log4j.core.appender.FileAppender for element File org.apache.logging.log4j...
asked by 01.02.2018 / 19:32
0
answers

Background with transparency

When you press the back button, the app opens the screen below. I would like to know how to work with this background transparency, if you can do in activity's and if this app would be a activity or another element:     
asked by 31.01.2018 / 10:47
0
answers

Quartz Spring Test JUnit

How do you use a Job that is Clustering in Spring? Spring 4.3 Quartz 2.2.3 Job declaration example @PersistJobDataAfterExecution @DisallowConcurrentExecution public class SysEncryptEmailSendSystemJob implements Job{ .. @Override...
asked by 06.03.2018 / 23:24
1
answer

Verify that the string contains other types of characters

I'm developing a project that works with logical expressions, for example it receives as input: ((TvF->T)^(T->F))->(~F<->T) I then do all the validation to remove whitespace, replace -> with - and <->...
asked by 07.03.2018 / 14:18
0
answers

Remove whitespace from a string and join it [closed]

I have a string of a Logical Expression Ex: ((T ∨ F → T) ∧ (T → F)) → (∼F → T) I need to remove the whitespace from the string and put them together as a result: ((T∨F→T)∧(T→F))→(∼F→T) How can I do this in Java? I tried to use re...
asked by 07.03.2018 / 02:16
2
answers

How to download a compressed file from a URL and save to disk?

I made a java program to download a zipped file from a server from a URL (in this case, I am using localhost to test), but it is giving the following error:    Exception in thread "main" java.util.zip.ZipException: invalid entry   compressed...
asked by 28.02.2018 / 15:10
1
answer

publishProgress () updates onProgressUpdate () only at the end of doInBackground ()

I have an app that does the progress bar update, just like I'm doing in another app, but in this new app, onProgressUpdate() only runs at the end of doInBackground() . The parseInsertSolicitantes(jsonString) method is call...
asked by 20.02.2018 / 18:20
0
answers

How do I add bookmarks to my map dynamically?

Well guys, I'm developing a mobile application in AS, and I'm using the map to add markers to each location of a new registered form, that is, when I make a registration, I send my latitude and longitude to the server together. On the map I get...
asked by 16.01.2018 / 18:27
0
answers

Send JSON post method JavaScript

I have a Restful API written in Java, which has implemented GET and POST methods, tested the methods with the Postman application and are working. Follow the Filter class @Override public void doFilter(ServletRequest request, ServletRespons...
asked by 27.02.2018 / 13:15