wood burning stoves 2.0*
The moose likes BEA/Weblogic and the fly likes Timerapp; classdefnotfound exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Timerapp; classdefnotfound exception" Watch "Timerapp; classdefnotfound exception" New topic

Timerapp; classdefnotfound exception

Esti Vanderkelen

Joined: Oct 24, 2007
Posts: 3
Hi all,

I want to install a simple timerapplication. I have created one class file in a war:

In the WEB-INF folder i have my web.xml file:

Now, via the weblogic console, i can not deploy the war file because it says that my (one and only) class can not be found. I only can deploy my war file if i put the LifecycleListener.class in the C:\bea81\user_projects\domains\mydomain folder.
If i do that, i see in the output that my timerapp runs also correct.

What is there missing that my simple war file does not deploys ?
Esti Vanderkelen

Joined: Oct 24, 2007
Posts: 3
I think I found the solution.
However, is it normal that all classes should be under the WEB-INF folder inside the war file ???
(i putted the class files before in the root folder of the war file, and probably that was wrong?)???
Don't get me started about those stupid light bulbs.
subject: Timerapp; classdefnotfound exception
Similar Threads
weblogic timer >> scheduler is running at server start up not at setting time to the notification
When ServletContext is initialized
problem in job Scheduling
listener tag is not working in Tomcat
ServletContextListener firing more then once