Home > Back-end >  The jar package cannot run normally
The jar package cannot run normally

Time:09-29

My Java program is running under the eclipse everything is normal, but the export jar package, part function doesn't work?
Shows that: under Caused by: Java. Lang. ClassNotFoundException: org. Dom4j. IO. SAXReader

CodePudding user response:

Are you a novice or a veteran?
Export the jar package just you write the code, rely on the package is not actually, so there will be a kind of can't find abnormal

CodePudding user response:

Open jars look to the inside, the classes in the package can be run eclipse using the eclipse configured dependent libraries, make sure to use normally in the lib folder in your project also has a dependent package
  • Related