How to resolve jenkins maven error 'Could not find main class'?
Hauptklasse or
: this means MainClass with the name 'or' ...
The problem is with the second argument: -Xmx1500m or -XX:MaxPermSize=250m
, the word or
is interpreted as the name of the mainClass. Removing it should help you a bit further.
maven error when running in cygwin?
Maven with Cygwin - Error: JAVA_HOME is not defined correctly
The "alias mvn=mvn.bat" answer toward the bottom of above post worked for me. However, is this THE solution?
eclipse m2eclipse not working
my envirement
eclipse version : 4.3 kepler
maven version : 3.2.x
OS : windows 7
m2e plugin version : 1.5
the problem caused by combination of things, e.g mismatch between maven installation and setting.xml is one, but mainly the problem was:
just to make sure they are pointing to the right setting.xml file
Note:
Jenkins maven error while building job
I edited the .bashrc
file to set the Maven home, sourced it and then restarted the Jenkins server. That seemed to solve my issue.
Related Topics
Classcastexception When Casting to the Same Class
Non Resizable Window Border and Positioning
Why Must Wait() Always Be in Synchronized Block
How to Throw Checked Exceptions from Inside Java 8 Streams
Android Listview Selected Item Stay Highlighted
Why Does Arrayindexoutofboundsexception Occur and How to Avoid It in Android
Maximum Java Heap Size of a 32-Bit Jvm on a 64-Bit Os
Double Decimal Formatting in Java
How to Compare Two Double Values in Java
Maven Dependencies Are Failing With a 501 Error
Calling a Servlet from Jsp File on Page Load
Ssl Handshake Alert: Unrecognized_Name Error Since Upgrade to Java 1.7.0
How to Schedule a Periodic Task in Java
When Do You Use Varargs in Java
Find Duplicate Value in Array List and Print the Duplicated Value