• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MVC2-buzz-buzz

 
Gary Ba
Ranch Hand
Posts: 161
Firefox Browser Java Windows
  • Mark post as helpful
  • send pies
  • 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
 
Greg Charles
Sheriff
Posts: 2985
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • 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
  • 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: 2985
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic