문제

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?

도움이 되었습니까?

해결책

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
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top