Most voted "maven" questions
Apache Maven is a software knowledge and project management tool. This tag should be used for questions that do not concern a specific Maven version.
Learn more…317 questions
Sort by count of
-
0
votes1
answer208
viewsAccess my application without the version number
My JSF application runs in wildfly. But when I lift the server, to access the application I must use: http://localhost:8180/app-0.0.1-SNAPSHOT/start.jsf. In short: I want to take the -0.0.1-SNAPSHOT…
-
0
votes0
answers360
viewsPersistence.xml file does not find class of the Provider tag
I’m creating a JPA + Maven Hibernate project. I put the required statements in pom.xml, and the project downloaded the Hibernate dependencies, but when configuring the Provider tag of the…
-
0
votes2
answers941
viewsHow to save the Maven dependencies inside the project folder?
I want to save all the dependencies of the Maven project inside the folder of my project! What should I put in the pom.xml file? Is there a plugin for this? I would like a pom.xml template that…
-
0
votes2
answers511
viewsWsimport of multiple equal services with various unnecessary operations
In Java, I am using the wsimport tool. The process works. However there are some problems. I have to wsimport into the services of several different suppliers (all of them third parties, I have no…
-
0
votes1
answer144
viewsUnmarked class
I am testing a . jar where I will pass named parameters on the command line, etc. The problem is that you are not finding my main class. Somebody help me? package appOptions; import…
-
0
votes1
answer1053
viewsWhat are/do these dependencies?
I started working with programming about three weeks ago, they gave me the code and I’m lost. Until yesterday I only knew how to leave the Eclipse terminal, and now I have all these libraries (I…
-
0
votes1
answer56
viewsfile not found Exception web service
i have a web and mobile application that are powered by web service the problem that every time I am trying to recover a user I get the following message "java.io.filenotfoundexception" (followed by…
-
0
votes0
answers390
viewsMaven plugin build error
I use the following plugins to compile and run my web project in Intellij IDEA: pom.xml //Código do pom.xml omitido . . . <dependency> <groupId>javax.servlet</groupId>…
-
0
votes1
answer140
viewsMaven OWL API How to resolve dependency error
My question concerns Maven. I am working on a project that involves the OWL API library and after trying to load an ontology the project returned an error that can be seen in the following image.…
-
0
votes1
answer228
viewsCDI is not working with Tomcat7 by Maven + JSF
I’m not able to make CDI work, I’m using the tomcat7 plugin from Maven. Beans.xml is created and in the WEB-INF folder, context.xml is also in the META-INF folder, I also put the CDI dependencies,…
-
0
votes0
answers2733
viewsRun the Maven java project via terminal?
I did a Maven project on Eclipse, I installed a Mahout dependency on pom.xml, I made the code and it works beautiful, it’s beautiful. But I have to run it on a virtual machine, that is without…
-
0
votes1
answer105
viewsError starting Tomcat server
I am inserting two Hibernate dependencies into my pom.xml <!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-core --> <dependency>…
-
0
votes1
answer489
viewsHow to run the Maven dependencies?
I am making an application inside a virtual machine and I am using Maven to install Mahout, in Eclipse on another pc worked perfect, but while doing the same project on a virtual machine I did the…
-
0
votes1
answer231
viewsLiquibase always running changesets
Hello, I have a problem running Liquibase with Maven + Spring Boot. The following occurs: I have two schemas, schema1 and schema2. In the project, I have 3 scripts in native SQL: first create the…
-
0
votes2
answers292
viewsHow to use @Mappedsuperclass @Id with @Sequence Individual - Hibernate oracle
I need to solve a question of using inheritance and sequences with Hibernate and Oracle. I’m using Maven with: hibernate-core 5.1.5.Final hibernate-entitymanager 5.1.5.Final hibernate-validator…
-
0
votes2
answers1412
viewsMigration of Hibernate 4.3.x to 5.3.1
I’m taking a course in Sales System, the teacher uses the version 4.3.11 of Hibernate(what works perfectly). But I would like to migrar for the current version(5.3.1), but with the configuration of…
-
0
votes0
answers101
viewsCompiling and running the java and Maven application with the same encoding
I have an application I am compiling using Maven from the command line. In my pom.xml I specified the encoding using: <properties>…
-
0
votes1
answer533
viewsDo I need to include classes mapped in persistence.xml? Java-Eclipse-Maven-Hibernate-H2database
I’m trying to set up a Maven project in Eclipse with Hibernate and H2 Database. So I’m trying to understand the persistence.xml settings, which I had to create. One question is: do I need to include…
-
0
votes1
answer646
viewsDisable infobar from Chrome when running automated testing
I tried to implement a method that will maximize the Chrome window and deactivate infobar when starting tests, but neither of the two actions will happen when running. Actions are in the method…
-
0
votes1
answer193
viewshow to build and run an IDE Maven project
Good afternoon, I’m trying to generate an application for studies using Maven, but this disastrous and very frustrating. I’m trying to create a web project using Maven, but I can’t do anything to…
-
0
votes1
answer29
viewsSelect One Rendered Menu
Good afternoon, I have two selects one menu, one loads the states and the other I want to load the cities of that state at runtime, only I can’t, it doesn’t even load the page when I try to use…
-
0
votes1
answer146
viewsJPQL Illegalargumentexception - Unexpected token: SUM
java.lang.Illegalargumentexception: org.hibernate.hql.internal.Ast.Querysyntaxexception: Unexpected token: SUM near line 1, column 1 [SUM(e.quantidade) FROM br.com.pmro.coad.modelo.Stock and Join…
-
0
votes0
answers67
viewsUsing Proguard with Maven in libs in java swing
I obfuscated my jar using the proguard-Maven-plugin plugin, pom.xml and the configuration are these: <build> <plugins> <plugin> <groupId>com.github.wvengen</groupId>…
-
0
votes1
answer172
viewsValidation Bean Is Not Validating
Hi. I would like to create a program, where I write a task and it would save it in a database. With this I have a class called, which asks for the description to have at least 5 characters package…
-
0
votes1
answer269
viewsBindingresult is not working properly with Validation
My goal is to register an older person with a valid name, through validation. The class Person.java: package br.com.Test.domain; import javax.validation.constraints.Max; import…
-
0
votes1
answer153
viewsProject Maven Muti-module, how to control which artifacts Gitlab-CI should deploy?
I have a multi-module Maven project in Gitlab. The structure is about the following: /pom.xml --> reator /cooker/ /cooker/pom.xml --> biblioteca principal /security-clean/…
-
0
votes0
answers420
viewsPokeapi: faster creation of a pokêmon list
I’m looking to create a program that offers information about Pokémon, using the Pokeapi, to gain access to each creature’s data. I’m doing this program through the eclipse, with the help of Maven.…
-
0
votes1
answer82
viewsProblem passing version on Maven via Property
I am trying to make a modification to a project to allow you to pass a Property and generate the package with the version that was passed. Ex: mvn package install -Dversion.app=0.0.1 But I have a…
-
0
votes0
answers19
viewsHow to define a Deployment Server for Netbeans?
Good evening! I am studying MVC for Netbeans with the use of Maven. However, I can’t load a xhtml page, because when I click Run Project up there, it builds normally. However, the following message…
-
0
votes0
answers26
viewsError generating Ireports report (Jasper) in Maven project
I am working with a Maven project and managed a print using Ireports, but when making the call it is returned java.lang.NullPointerException when trying to detail where was the error I noticed that…
-
0
votes0
answers51
viewsProblem deploying API REST springboot on Heroku
Good evening! I am trying to deploy a REST API on Heroku, but I come across the following error: [] [ERROR] Failed to execute goal org.apache.Maven.plugins: Maven-Compiler-plugin: 3.8.1: compile…
-
0
votes1
answer333
viewsSpring Boot @Autowired does not work with Repository
I have the following mistake: Description: Field categoriaRepository in com.algaworks.algamoneyapi.resource.CategoriaResource required a bean named 'entityManagerFactory' that could not be found.…
-
0
votes0
answers77
viewsError: Could not find or load main class in module Pdvapplication
I can’t run the PDV application to test. I cloned the project from github to my folder and ran it using Maven in the Intellij IDE. Inside the Intellij the main is this below. It runs error-free on…
-
0
votes1
answer75
viewsSave daughter entity against Manytoone Hibernate Jpa
I have 3 entities: Request, Request and Service; There is a many-to-many relationship between the Request and Service entities so I created the third table; I would like to save a Request and also…
-
0
votes0
answers5
viewsWelcome file list does not work
Hello, before posting here I searched in several forums and could not find a solution. I have a Maven project, jsf 2.3, it works, but when starting Tomcat I would like to welcome page, but it does…
-
-1
votes1
answer718
viewsMaven does not download libraries
I’m using Intellij and the plugin for Maven (first time), I’m trying to make it work to download the libraries I use in my project, but it’s not downloading. pom.xml <?xml version="1.0"…
-
-1
votes1
answer2773
viewsUnable to build Entity manager Factory errors Help aq please
Unable to build Entity manager Factory errors in application. JPA, Hibernate, Postgresql, MAVEN, Tom Cat and Eclipse. These errors have occurred below: nov 03, 2015 8:33:35 PM…
-
-1
votes1
answer140
views -
-1
votes1
answer75
viewsDynamicreports chart: comparing sales by years
In the graphic shown in the image I show the sales values of some products. What I wanted now was to create a chart that showed the same information but comparing the sales of these products in…
-
-1
votes1
answer294
viewsError, I cannot save in bank using Hibernate
Good afternoon Pessoa, I need your help! I have a problem in my project, my Hibernate is working creating tables but when I tried to save it does not work and the following error appears in junit(…
-
-1
votes1
answer372
viewsConfiguration EAR+Hibernate 5.2+Maven+JTA+Mysql project
Hi, I built a Maven j2ee-EAR project, but I’m having trouble setting up Hibernate/JPA. I added the dependencies in pom.xml, as below: <dependencies> <!--…
-
-1
votes1
answer985
viewsProblems setting up a Maven project to place CDI
Watch the error message; 08:27:28,047 INFO [org.jboss.weld.Bootstrap] (MSC service thread 1-2) WELD-000101: Transactional services not available. Injection of @Inject UserTransaction not available.…
-
-1
votes1
answer183
viewsSet column order in database using Springdata
I would like to know if it is possible (if it is, how to do) to define the order of the columns in the banco de dados using JPA. I noticed that it creates the column Id first, and then the columns…
-
-1
votes1
answer210
viewsVariable pom.xml that shows the location of the file
I use Ubuntu 18.04. My project is on an NTFS partition. I need to know which variable shows the location the pom.xml file is in. I’m using the ${basic} variable, but it’s not showing where the…
-
-1
votes1
answer48
viewsAnsible does not execute mvn clean install command
The problem is that amid a deploy automation for approval, I have to execute the command mvn clean install only that I saw Ansible. my task is like this: - name: Build projeto backend command: mvn…
-
-1
votes1
answer40
viewsMultiplication of Values
I have a product sales system In this system the user selects the product in a Combobox, after selecting the product the field Unit Value (Textfield) is filled automatically with the value that was…
-
-1
votes2
answers48
viewsHow to Get the value of a multiplication?
System made in Vaadin + Java + Springboot + Maven + Mysql I have a sales system, where the user chooses the product he wants to buy in a Combobox, sets the amount he wants to buy (Numberfield), when…
-
-1
votes1
answer477
viewsProblem doing Spring Boot Application Deploy
I am developing an application with Spring Boot and Thymeleaf and while trying to generate the . jar that must be run on the server, it even generates everything right, but an error occurs when…
-
-1
votes2
answers321
viewsError installing jdbc oracle in eclipse
I am finding impediments in the installation of oracle jdbc. Canvas Error message: Error Reading file C: Users alex.jose.silva.m2 Repository with oracle ojdbc14 10.2.0.3.0 ojdbc14-10.2.0.3.0.jar C:…
-
-1
votes1
answer530
viewsmvn test giving error 'cannot find Symbol'
I have a spring-boot project and I am programming some tests using Junit, in Eclipse I ran the tests without having problems, however, in the terminal, while trying to execute the command mvn test…