i have a problem that in Eclipse when i run my project everything is working fine but when i exporting it last class don’t want to open by clicking the button. I’m using database in every class as well as i have referenced library(jcalendar-1.4) if it will help you to solve the problem. login and registration class are working fine
Tag: jar
Difference from running application in IntellJ and running JAR file
I came across a situation when i would run application in intellJ and everything runs smoothly , then i would create a jar using maven install command and try running it manually from command line, the results are the following : Command Line Questions: What is the difference between running Jar and running App in IntelliJ Why would it complain
gradle executable jar can’t include local jar dependencies
SOLVED WaitingDatabase.connect(WaitingDatabase.java:17) (Sorry for bad english.) I have to connect my oracle database, so I downloaded oracle jdbc driver and added in my dependencies. It connected well when I run at intellij, so I built executable jar file with gradle. However, it couldn’t connect to my oracle database. I think it was built without oracle jdbc driver file, because it
Recover data after closing a Jar file
I am working with a jar file that deals with a program where I open a window (using JFrame). In this window, I manipulate some data and store some of it in the private fields of a class. When I close my windows and reopen my jar file, all my data is lost. How can I save my data so
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 IntelliJ, no command line, and I use gradle. The application is running somehow out of Intellij. But where are the created files? Where is my jar from
Add a jar file to another jar file
In my project I have this code that tell class loader to load Driver.class like so: In Eclipse it runs with no problems and I have created the Jar file of the project. But I don’t know how to insert the mysql-connector-java-5.1.7-bin.jar into a Jar file of my project. The folder structure look like this: MANIFEST file: Answer I am
Unable to create SAAJ meta-factory after packaging as JAR
For testing an application I am creating SOAP messages. This works when run directly from Eclipse (Oxygen.1a) but after packaging as runnable jar (option: package required libraries into generated jar) I get the following error: triggered by: So I understand that the MessageFactory uses a sun package But I am absolutly clueless as to why it is unable to find
How to get a jar file from nexus using Jenkins?
I have a Jenkins job which contains 3 parameters: ARTIFACT_ID, GROUP_ID, and APP_VERSION. I would like to use those 3 params to download any specific jar file from Nexus. Note that the Nexus URL is provided in the Jenkins config, so it will automatically know from where to lookup. Do you have an idea how to do that!! For example,
Optaplanner – NullPointerException when creating jar file
My program works fine from my IDE (IntelliJ) but for some reason, when I try to create a jar file I get following error when I run the program from a terminal: Exception in thread “main” java.lang.NullPointerException at org.optaplanner.core.config.score.director.ScoreDirectorFactoryConfig.buildDroolsScoreDirectorFactory(ScoreDirectorFactoryConfig.java:461) org.optaplanner.core.config.score.director.ScoreDirectorFactoryConfig.buildScoreDirectorFactory(ScoreDirectorFactoryConfig.java:331) org.optaplanner.core.config.solver.SolverConfig.buildSolver(SolverConfig.java:220) org.optaplanner.core.impl.solver.AbstractSolverFactory.buildSolver(AbstractSolverFactory.java:57) org.optaplanner.EmployeeRoster.main(EmployeeRoster.java:31) This is my line 31 in EmployeeRoster: SOLVER_CONFIG_XML is a String containing my path for my XML
Inno Setup: Removing files installed by previous version
I’m using Inno Setup to package a Java application for Windows; the application tree is like this: I use Ant to prepare the whole tree (all the files and folders) beforehand, including the lib directory (using *.jar wildcard to copy the dependencies), then I simply call ISCC with: Now, I need to cleanup the lib directory everytime the user upgrades