I recently faced a problem when I was trying to run a junit test in eclipse. I was getting a ClassNotFoundExcpetion. So, I googled a bit and tried out a solution where I had to move the JRE System Library below the rest of the jars and it worked!!! But I couldn't find and apt explaination on why I needed to do that. Can anyone let me know?
newcoder310 0 Junior Poster in Training
Recommended Answers
Jump to PostAbove description wouldn't help in solving your issue. If your build is dependent on JRE System Library above/below JUnit.jar it is plainly obvious you are dependent on IDE and your project will not build sucessfuly from command line, therefore cannot be run from CI. I do strongly suggest to check …
Jump to Postthough I do wonder what he's done that makes his eclipse project's compiling dependent on the order of dependencies in the project settings window :)
Jump to Postthough I do wonder what he's done that makes his eclipse project's compiling dependent on the order of dependencies in the project settings window :)
I do remember NetBeans being funny back in the day while building JME app and you messed up order ;)
But hey then …
Jump to Postyou compared it to every class in the JRE?
it doesn't even need to be that class. I remember a guy having created his own String class, and later on not understanding whypublic static void main(String[] args){
was compilable, yet not usable as an entry point for the application.
All 15 Replies
newcoder310 0 Junior Poster in Training
newcoder310 0 Junior Poster in Training
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
jwenting 1,905 duckman Team Colleague
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
newcoder310 0 Junior Poster in Training
stultuske 1,116 Posting Maven Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
newcoder310 0 Junior Poster in Training
stultuske 1,116 Posting Maven Featured Poster
newcoder310 0 Junior Poster in Training
stultuske 1,116 Posting Maven Featured Poster
newcoder310 0 Junior Poster in Training
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.