Ascalonian
Programmer
Using Eclipse, I setup a Java Project that uses the Spring framework. It runs successfully in Eclipse.
I need to create a JAR file of all the class files so I can move them to a server.
However, when I run the jar file using:
It complains that it cannot find the XML file that is needed.
How do I add the XML files to the CLASSPATH so that the JAR will recognize them?
I need to create a JAR file of all the class files so I can move them to a server.
However, when I run the jar file using:
Code:
java -jar someName.jar org.com.companyName.TestThis
It complains that it cannot find the XML file that is needed.
How do I add the XML files to the CLASSPATH so that the JAR will recognize them?