Question

got tasked to learn beanshell. so here i am trying to set up my first example using this tutorial

I downloaded the jar file from here like suggested, and placed it in my C:\lib folder, because it is the closest to the C:\libs that the tutorial suggested.

I ran the following in the command prompt and i get an Exception in thread "Main Thread" java.lang.NoClassDefFoundError: bsh/Interpreter

My current environment is geared for Struts1.X/Spring/Hibernate in Win XP. Any ideas why?

Était-ce utile?

La solution

I was able to run it as follows, assuming I am in a command prompt in c:\lib

java -cp . -jar bsh-2.0b2.jar
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top