• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

MVC2-buzz-buzz

 
Ranch Hand
Posts: 161
Firefox Browser Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I finally started looking at Reverse2. I am trying out the example first to see if it works on my side. I replaced BeeServlet.class and created bee.jsp at c:\orion\default-web-app. I restarted orion and went to browser however I get a internal server error that says...

java.lang.NoClassDefFoundError: com/javaranch/common/ActionServlet

I checked if I have jr.jar at c:\orion\lib\ and it is there.

Please help ,
Gary
 
Sheriff
Posts: 3063
12
Mac IntelliJ IDE Python VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think Gary and I got this resolved offline, but for the sake of anyone else coming across this thread later, there may be different versions of jr.jar floating around. However, the one at http://www.javaranch.com/jr.jar, which is the one linked under the Servlet-2 assignment does contain the ActionServlet class. That's the one everyone should be using for the Servlet assignments.
 
Gary Ba
Ranch Hand
Posts: 161
Firefox Browser Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Greg,
I am afraid to say that the file did not work. I checked the file the it has the necessary files inside the jar file.
I will keep digging into this once my computer gets fix.

Regards,
Gary
 
Greg Charles
Sheriff
Posts: 3063
12
Mac IntelliJ IDE Python VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey Gary, well, at least it's not failing with a class not found error, right? Because that would be weird now that the class is there. Anyway once you get back up and running, let us know what error you're getting.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic