GeeCON Prague 2014*
The moose likes Servlets and the fly likes Catalina: IllegalStateException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Catalina: IllegalStateException" Watch "Catalina: IllegalStateException" New topic
Author

Catalina: IllegalStateException

Lalit Mehra
Ranch Hand

Joined: Jun 08, 2010
Posts: 384

Hi all I was just going through the stuff once again and decided to do it the HeadFirst Way so chose the to implement the listener mechanism to an old book example and got this error ...

FAIL - Encountered exception java.lang.IllegalStateException: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/Beer-v1] has not been started


on adding the following lines to the web.xml file



this is the listener class



http://plainoldjavaobject.blogspot.in
Lalit Mehra
Ranch Hand

Joined: Jun 08, 2010
Posts: 384

!!! got the error ... !!!

had to mark the listener class as public ...

 
Don't get me started about those stupid light bulbs.
 
subject: Catalina: IllegalStateException