Category "jar"

Spring jar can't see resources

I have Spring Boot web app which work on IntelliJ. I build jar file from maven. Jar starts but css, js and img "blocked" in Chrome console show error 404, Firef

How do we use Android package JAR in NativeScript

I'm following the tutorial below but getting issues using the JAR file in nativescript. https://nativescript.org/blog/plugins-and-jars/ I was able to generate a

rename maven jar-with-dependencies

My plugin section in the pom file looks like this: <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.

Error: Unable to access jarfile /snap/vue/1/jar/vue-1.0-SNAPSHOT.jar when creating vue.js project

I used below command to create new vue.js project. sudo vue create my-app but it gives following error Picked up _JAVA_OPTIONS: -Dswing.defaultlaf=com.sun.ja

Java problem loading native lib inside jar

(I slightly re-edited my post as I found out that I need just one native lib, not all 4 as previously thought) I am on Windows 7 x64, and I try to pack my nativ

Generate .JAR file using NetBeans 11.0

I'm trying to generate the (.JAR) file using NetBeans 11.0, I have followed some answers like How to create a Jar file in Netbeans but I don't find the Packagin

Packaging jar file with source code using Maven so breakpoints can be used in Eclipse

Requirements I am refactoring a Java application and am trying to move code out of a war file and into a jar file so it can be used across many different web ap

How to find file path to a bash file when the folder is renamed or moved to a new drive?

I've made an executable jar file for a terminal game that can be opened by typing java -jar name.jar in the Terminal. Then I made a .sh file inside the same fol

Java - JAR file would not execute from the terminal command line

I am relatively new to Java I finished tutorial where an example of how to create and run JAR file was explained. Could you give an advice of what should be don

Could not find main method from given launch configuration

I've a simple Java project that works when I execute it at Eclipse environment. But when I try to export it to a Runnable Jar, I get the following error: JAR e

How to find the location of a bash file?

I've made an executable .jar file for a terminal game I've been working on. So far, I opened it by typing java -jar name.jar in the Terminal. This worked, but w

maven jar plugin with specific filename not work

I am trying to use maven jar a file with a specific filename. <fileName> ${project.build.directory}/${project.artifactId}-${project.version}-SAMLGr

java.lang.NoClassDefFoundError: io/jsonwebtoken/Jwts - maven spring-boot

java.lang.NoClassDefFoundError: io/jsonwebtoken/Jwts When I run locally with mvn spring-boot:run , there's no problem. But when I package my application into

What is the Compatible version of Spring-security with spring-4.3.0-release?

Which version of spring security is compatible with Spring-4.3.0-release. my jars are as follows spring-aop-4.3.0.RELEASE.jar spring-beans-4.3.0.RELEASE.jar s

Setup Apache Sedona on EMR

I want to be able to use Apache Sedona for distributed GIS computing on AWS EMR. We need the right bootstrap script to have all dependencies. I tried setting up

Split Packages: Java Modules vs Sealed Jars

Both Sealed Packages/Jars and the Java Module System disallow spliting packages across several jars. Does that mean that all packages contained within a Module

resolution will not be reattempted until the update interval of mymaven has elapsed or updates are forced

I have this error: [ERROR] Failed to execute goal on project com.my.cms: Could not resolve dependencies for project com.my.cms.jar:jar:0.0.1-SNAPSHOT: Failed

Recompile the java files which is decompiled by JD-GUI from a jar

I have a MyFile.jar file. I use JD-GUI to decompile it and used its "Save All Sources" options to save the files to a .zip file. Now extracted the .zip file and

Spring boot where is my jar file

Spring boot makes it really easy to setup a simple app. But it takes me longer to actually get a jar file which I can upload to a remote server. I am using Inte

Download .jar File From URL Using Java

I have integrated an update system into my Java program, and the one thing that is missing is a way to download a jar file from a URL using Java. How can one go