Questions tagged as 'maven'

2
answers

Spring and maven in java

I'm starting to read about spring framework, where in the course they use maven and there are already things that I do not understand, which some do not have to do with spring or maven, but more with java. Well, the first thing is, maven, by...
asked by 03.04.2016 / 22:24
1
answer

JRLoader.loadObject error of JasperReport

I'm new to this jasper report , I do not know if I'm missing something or why I get this error: My Code line with error: JasperReport reporte = (JasperReport) JRLoader.loadObject("ReporteComisiones.jasper"); It's a maven project,...
asked by 23.11.2018 / 21:44
2
answers

How can I verify if a certain MySQL database exists from Java?

I want to verify if my database exists before continuing with the execution of my program, but I do not know where to start, because I have looked at some examples and nothing has worked for me. This is the query that you want to throw: "SE...
asked by 16.10.2017 / 20:43
1
answer

Copies $ .class in jar files

When I compile a jar with maven, but when I unzip it, it generates me copies of several files with the symbol $.class , how can I omit this type of copies? Example: dao.class dao$1.class     
asked by 20.04.2018 / 17:26
2
answers

maven is responsible for installing all the dependencies?

I'm doing some tests of crud with spring-boot, but in the dependence of ojdbc remains in red, I think it is not being imported.     
asked by 30.04.2017 / 18:08
1
answer

Differences between Maven and Gradle

I'm starting with Gradle and I was wondering what are the main differences with Maven when starting a new project in groovy / grails. Note: The question can be considered as opinion and be moderate, I would appreciate it if you help me unders...
asked by 17.09.2016 / 21:18
1
answer

Spring Boot + Maven: Project build error: Non-resolvable parent POM

I am creating a Spring Boot project using the Spring Starter Project. At first I did it normally a couple of times a few days ago. Today I try again and I find this error. The description of the error is this:    Project build error:...
asked by 02.09.2018 / 23:09
1
answer

Configuration error. Class [com.mysql.jdbc.Driver] not found

I have the following problem I hope you can help me. I am working with Wild Hat from Red Hat, although I have already tried it on other servers such as Apache and Galssfish. already add certain jar's to the servers and nothing, believe datasorce...
asked by 05.05.2017 / 19:11
1
answer

I have an error showing data in a Grid

I'm working with Java Spring , hibernate and maven and when I see the data in a grid I get this error:    SyntaxError: JSON.parse: unexpected end of data at line 1 column 147704 of the JSON data. But it only comes up when I add data...
asked by 12.09.2016 / 16:30
1
answer

Move bigjar with maven and Spring boot

When I develop a Big-jar with maven I move the jar from the target directory to a test directory using the following segment in the build: <plugin> <artifactId>maven-assembly-plugin</artifactId>...
asked by 16.07.2016 / 20:42