I would like to load the local library /opt/gurobi902/linux64/lib/libGurobiJni90.so within my Java IntelliJ Maven project on Ubuntu 19.10. My first attempt was adding the environment variable LD_LIBRARY_PATH like this: export LD_LIBRARY_PATH=”/opt/gurobi902/linux64/lib” (I know I have completly ov…
Tag: maven
yum in dockerfile – There are no enabled repos
I am having issues with installing python3 with yum in dockerfile. I did look on internet, I did try few things, not working. Its just small thing but not able to figure it out. When I try to build below docker file I do get error . I get error at line – RUN yum install -y oracle-epel-release-el7 The do…
Spring Boot Index jsp works on localhost, but not found in linux server
I create Spring Boot application. It works successfully in my localhost. But when I deploy and run jar file in linux centos server index page can not found (I get : There was an unexpected error (type=Not Found, status=404). /WEB-INF/jsp/index.jsp) This is my code structure and application.properties : code s…
Maven: java.lang.NoClassDefFoundErrorexception, but jars are downloaded in .m2
I have a tomcat project: tomcat/webapps/Project. That project makes use of org.json library, the dependency is written in pom.xml file: I have installed maven on my server and run this command, while in the Project directory: mvn install Then I checked /root/.m2/repository/org/json/20180813 folder and the fil…
Does maven shade plugin automatically downcase the package names on Windows?
I have two local artifacts: one with com.org.abc, another with COM.org.xyz. I have created a shaded jar including these 2 and all the other needed dependencies. WHEN I CREATE A SHADED JAR ON LINUX, 2 SEPARATE FOLDERS ARE CREATED : com and COM. BUT ON WINDOWS ONLY SINGLE FOLDER IS CREATED. When I create a shad…
Maven release plugin – Non-parseable settings error
I have a big maven project I want to release using the mvn release plugin. I can run the mvn release:prepare locally (on an OS X computer), however when I try the same on my GNU/Linux build agent (Which is a Centos 7.4), I get the following problem: I have tried to find any reference similar to <os.detecte…
dot dot(..) pathing doesnt work on java new file with linux running jenkins
I have this in a maven build on Jenkins. It’s being used to generate files. It works when building on my local machine(windows 7) but doesn’t work when i run it on Linux. It looks like it’s taking the .. as a literal folder path and not going back a directory. The error is: Answer Using base…
Shell script file with multiple commands
I want to make shell script file in windows and linux with multiple commands inside it. E.g run.sh and run.bat with the below commands run.bat or run.sh When I run my run.bat file it only executes first command mvn clean but it do not execute other commands. How to make shell-script file with multiple command…
Cannot pass parameters to slaves with distributed JMeter setup with Maven and linux
Using JMeter 2.13, Maven and Linux in all servers. Not running any tests from gui or command line, Maven is used! Have a test plan with a lot of parameters that are set and passed from Maven execution in Jenkins to the JMeter test plan. Using “-J” in Maven to set the input parameters. Works fine i…
maven-compiler-plugin broken on linux?
I have a maven project. In the pom.xml file the following is stated: AFAIK this is correct, it should build against JDK 7. I run a Debian based Linux dist and when I do mvn clean install it seems to always build against the javac version I have set in my os. I’ve tried reading up on what the plugin