Domanda

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?

È stato utile?

Soluzione

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
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top