Category "maven"

Azure DevOps: Application Error If you are the application administrator, you can access the diagnostic resources

I am trying to publish Hello-world to azure app service. I am using below code from my git repo as below https://github.com/biswajeetbehera/java-hello-world-wi

Vertica data into pySpark throws "Failed to find data source"

I have spark 3.2, vertica 9.2. spark = SparkSession.builder.appName("Ukraine").master("local[*]")\ .config("spark.jars", '/home/shivamanand/spark-3.2.1-bin-hado

Spring-mvc + Spring-Security + Thymeleaf - Error Resolving Template

I'm following a simple online tutorial for building a Spring + Spring Security + Thymeleaf + Maven project and I'm getting the following error: [ERROR] [tomcat

Confluent Maven repository not working?

I need to use the Confluent kafka-avro-serializer Maven artifact. From the official guide I should add this repository to my Maven pom <repository> <

How do I resolve Could not find artifact javax.xml.bind:jaxb-api:pom:2.3.0-b161121.1438 in central (https://repo1.maven.org/maven2)?

I'm migrating an app to use ehcache 3.10.0 but getting a build error: Could not find artifact javax.xml.bind:jaxb-api:pom:2.3.0-b161121.1438 in central (https:/

Compiling multi module maven projects without installing to local repository

I have a compiling (and packaging) problem in my multi-module maven project. Problem occurs when compiling one of two projects which are siblings and included i

Compile Maven Module with Different Java Version

My maven project has a few modules: server, web, etc. I would like to build all but my server module on Java 6. For the server module, I'd like to compile it w

java.lang.ClassNotFoundException: org.apache.poi.ss.usermodel.Workbook

I'm trying to access an excel file the Apache Workbook module. The code runs perfectly sometimes, but mostly I get an error saying: exception javax.se

Server is not connected. Deploy is not available. IntelliJ 13 and Tomcat 7

Trying to run my app with IntelliJ 13 and Apache tomcat 7.0.42. JDK1.6 Always getting the error Artifact app:war exploded: Server is not connected. Deploy is n

Failed to build app with Maven, I can run code locally, but fail to deploy on heroku

This is my code in github: https://github.com/q463746583/CS4500-Assignment2 I can run it successfully in the local, but while I try to deploy the code on heroku

SonarQube server can not be reached at http://localhost:9000 with Sonarqube-4.5.1

I have recently setup Sonarqube-4.5.1 on my linux machine ( x86_64 x86_64 x86_64 GNU/Linux ). I am able to start sonar with ./sonar.sh start command. On checkin

Intellij IDEA - Maven not working

I cannot see the list of maven archetypes ("Loading archetype list...") or import an existing maven project in Intellij IDEA 2016.3.4. I tried several things:

delete target directory in maven during mvn clean phase

I would like to delete target directory from project after performing mvn clean build life cycle. I have observed that after performing mvn clean generated reso

UnsupportedClassVersionError from maven-pmd-plugin for java 11 project

We are migrating our java 8 projects to java 11. JAVA_HOME still points to java 8 but the first project to be migrated compiles in java 11 and the unit tests ru

How to exclude packages from CheckStyle analysis in a mavenized multi-module project?

I have a Maven project with several modules, including org.eclipse.cdt.core. For some reason, the customer wants to build org.eclipse.cdt.core as well. I want

How to pass variables from Azure Pipeline to JavaScript?

I'm attempting to run an Azure Pipeline, with some environment variables defined in the pipeline itself, and I am using the Maven Build task to build my project

SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal

I've just opened the project in netbeans, cleaned and build it then run the project but its showing the following error message. Note:Same project is working fi

maven with JDK11: javac: invalid flag: --release

I'm trying to set up a simple maven project with java 11. As I want to keep JAVA_HOME to be version 8, I'm using maven-toolchains-plugin to make maven use jdk11

Eclipse (JBoss Developer Studio) not automatically building JPA metamodel classes

I have a Maven project set up that has a parent and two child modules: parent business support All of my JPA entities are in the support module. I've

Maven. Unable to compile module with groovy-eclipse compiler

I'm trying to perform migration of my project from java 8 to java 11. What I did in root pom.xml: Replaced <source>8</source> <target>8</ta