Skip to main content

Questions tagged [jar]

JAR file (or Java ARchive) aggregates many files into one. JAR files build on the ZIP file format.

jar
-1 votes
0 answers
38 views

NoClassDefFoundError while running springboot application from command line

I have a spring boot project which works fine when I run the main class from IntelliJ GUI. But when I try to run the same program using the command line using the command java -jar my-data-server.jar ...
Moneet's user avatar
  • 11
-1 votes
1 answer
29 views

Attempting to run a MC server and I keep getting Error: unable to access jarfile

I'm trying to run a minecraft server and when I type the command: java -Xmx1024M -xms1024M -jar minecraft_server.1.21.jar and I get - Error: unable to access jarfile minecraft_server.1.21.jar... I ...
ProbablyGametes's user avatar
0 votes
0 answers
25 views

Sevlets with @WebServlet annotation in JAR files not accessible (wildfly 26.1.3.Final)

I have a project where I need to include some servlets. For some reasons the customer wants a JAR file not a WAR file. After a few days research I was unable to find a solution to make wildfly's ...
Riva86's user avatar
  • 11
-3 votes
0 answers
28 views

Could not find gradle-8.3.0.jar (com.android.tools.build:gradle:8.3.0) [closed]

i just start new project in android studio and see this error 1'. Could not resolve all files for configuration ':classpath'. Could not find gradle-8.3.0.jar (com.android.tools.build:gradle:8.3.0).
omid 's user avatar
  • 144
-1 votes
3 answers
62 views

Java can't open any .jar files

I was following this tutorial: https://docs.opentripplanner.org/en/latest/Basic-Tutorial/ to get started with OpenTripPlanner for the first time. Once I got to the step "starting OTP" I ...
Noah's user avatar
  • 1
0 votes
1 answer
25 views

When I am trying to run my java jar ,Error: A JNI error has occurred [closed]

I updated intellJ Community and since then when I create a jar and try to open it I have this problem Error: A JNI error has occurred, please check your installation and try againenter image ...
Irenée Rachid BATIONO's user avatar
0 votes
0 answers
18 views

Can't activate jar-dependencies-0.3.10, already activated jar-dependencies-0.4.1

I'm getting this error. can't activate jar-dependencies-0.3.10, already activated jar-dependencies-0.4.1 Please help me My project has gem 'jar-dependencies', '0.4.1' but in my system it was ...
ankit susne's user avatar
-1 votes
1 answer
15 views

Jars are not printing from internal url

I am building my maven project with updated setting.xml which not contain any public URL which have some internal URL to our company what i want is i want to run the build and want to print the what ...
punit jain's user avatar
1 vote
1 answer
37 views

Issue with getting Jar dependencies via Jdeps

I want to create a JLink image of a jar file of my Java project and I'm using Maven as build tool. I'm trying to get all dependencies needed to run my project to create a JLink image of it by using ...
Aryan's user avatar
  • 121
0 votes
1 answer
44 views

Why does linux deny permission to establish a Java Jsch session when the war file is deployed in a Tomcat server?

I have been trying to establish a Jsch session in a Java Spring Controller, so I can execute a shell script. The session is established and commands are run during local testing and manually testing ...
Sarath M's user avatar
0 votes
1 answer
44 views

XAMPP PHP EXEC function provides different output when executing from browser and CLI

I am working on project where i need to execute jar file with PHP, i am using php exec function to execute jar file, When i am executing my php script from browser i am getting expected output, but ...
user2338456's user avatar
2 votes
0 answers
22 views

Do I need to add Proguard rules when developing Android libraries?

Currently, I'm working on an Android library that relies on other libraries like Gson and Glide. Our senior developer mentioned that when using Proguard, we should include Proguard rules for these ...
Park hyundeok's user avatar
1 vote
0 answers
22 views

JAR Library access its Resources within Android App

I have a JAR library that retrieves random files from the JAR resources. When added as a dependency and ran within an Android App, the library fails to retrieve its resources (the resources are to be ...
Skepller's user avatar
  • 134
-1 votes
2 answers
79 views

How to correctly read from JarURLInputStream ? (Java)

I'm trying to read the contents of my own JAR. With getResourceAsStream(path) I get a sun.net.www.protocol.jar.JarURLConnection$JarURLInputStream. But this stream seems empty, when the path is a ...
CoSoCo's user avatar
  • 115
0 votes
0 answers
31 views

Difrerent MANIFEST.MF used when executig SB app as jar and when deployed to Wildfly

I've run into a an issue with Spring Boot (3.3.0), and Wildfly (29.0.0, and 32.0.0). I've found out that when deploying a SB WAR application in Wildfly server, the WEB-INF/classes/META-INF/MANIFEST.MF ...
Wolfer's user avatar
  • 560

15 30 50 per page
1
2 3 4 5
1264