Category "jar"

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

File inside jar is not visible for spring

All I created a jar file with the following MANIFEST.MF inside: Manifest-Version: 1.0 Ant-Version: Apache Ant 1.8.3 Created-By: 1.6.0_25-b06 (Sun Microsystems

Where are all the javax jars?

Edit: several fellow SOers have recommended just going to Maven repos, which of course have nothing to do with using Maven as part of one's build. I understand

Error when run jar Exception in thread "main" java.lang.NoSuchMethodError scala.Predef$.$conforms()Lscala/Predef$$less$colon$less;

I work on spark application using (spark 2.0.0 & scala 2.11.8) and the application works fine within intellij Idea environment. I've extracted application a

Difference between jar and war in Java

What is the difference between a .jar and a .war file? Is it only the file extension or is there something more?

How to run a .jar in mac?

I've written a relatively simple java application. I have JDK on my PC, but I need it to run on a mac for school. The .jar runs perfectly on my PC, but I tested