Category "maven"

unable to start embedded Tomcat when running Eureka Server

I am just starting with microservices and I want to creat a simple Eureka Server to do my Serviceregistry. For now I just want to run the server on localhost an

Spring maven dependency issue

I have a problem that my pom.xml throw an error ArtifactTransferException: Failure to transfer org.springframework:spring-tx:jar:3.2.4.RELEASE from http:

vaadin 23 reporting debug mode when built for production

I've built my vaadin 23 app in production mode via: mvn clean package -Pproduction -DskipTests -U My pom.xml contains the necessary profile: <!-- vaadin pro

unable to install playwright as a maven dependancy

I'm trying to build my automation framework using playwright with java, however I'm running into below issue when running the tests. Please advice! Failed to in

Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException

Run my Spring Boot application (sample program to post jason to Spring RESTful webservice) in Eclipse successfully. However, when I use the mvn package command

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.

I have been trying from a couple of days to resolve the following error but I am unable to resolve it :( My module's pom.xml file is: <project xmlns="htt

GeoLite2 database gets corrupt when added to war

Like the question GeoLite2 database gets corrupt when added to jar, I got the error from the WAR file with the following steps: mvn package to copy GeoLite2-C

How to find/remove unused dependencies in Gradle

I wanted to find unused dependencies in my project. Is there a feature for this in Gradle, like in Maven?

How to clean or clean build my Maven project in IntelliJ IDEA?

I'm using Apache Maven in my Java project. in NetBeans there are build and clean build icons but there aren't in IntellIJ IDEA. How can I clean or clean build m

aspose email with java 11

I am trying to upgrade the aspose email version to 20.7 and I am using java 11 for my project, but I get these exceptions. The aspose email jar is in the classp

NullPointerException - find resource file

I have a maven project where i'm trying to read a javascript file but it can't find it and get a NullPointerException. This is a followup question on THIS POST

Ignore maven execution block which uses toolchain if ~/.m2/toolchains.xml is not present

I'm working on an open-source library which must work correctly on jre7. Since java 9 has been released, we decided to provide our modules with module-info.java

Could not download Node.js from: https://nodejs.org/dist/v6.11.3/x64/node.exe: Got error code 404 from the server

When i tried build and clean my project pom.xml <configuration> <nodeVersion>v6.11.3</nodeVersion> <npmVersion>3.10.10</npm

How to run Maven Checkstyle plugin on modified files only

I am running Maven Checkstyle plugin through pre-commit githook written in python (I think that the same question applies to running it directly from terminal).

"Cannot find symbol" error when creating an instance of an object

I'm new to using maven and have a Project where I'm trying to create an instance of an object but keep getting the error: error: cannot find symbol Comm

Error:Plugin with id 'com.github.dcendents.android-maven' not found

I'm using this library in my Android app. (https://github.com/yazeed44/MultiImagePicker) Before now, I was adding it to my project this way: compile 'net.yazeed

'react-scripts' is not recognized as an internal or external command

I've got a maven project, within which is JavaScript project cloned as a git sub-module. So the directory structure looks like mavenapp/src/main/javascript/[npm

mvn clean test is failing for Mule Munit test cases

I am running mvn clean test command on Mule Mnuit test cases. I end up with an API incompatibility error: [ERROR] Failed to execute goal com.mulesoft.munit.too

Exception class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader

I don't understand how to fix it, first time i see mistake like this. i downland this from github https://github.com/nikishubin/Notebook but its does not work O

Maven - /test/classes isn't directory - Error

I'm trying to make mvn clean package in a project that has this pom.xml: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.or