This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Timerapp; classdefnotfound exception" Watch "Timerapp; classdefnotfound exception" New topic
Author

Timerapp; classdefnotfound exception

Esti Vanderkelen
Greenhorn

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
Greenhorn

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?)???
 
wood burning stoves
 
subject: Timerapp; classdefnotfound exception
 
Similar Threads
listener tag is not working in Tomcat
weblogic timer >> scheduler is running at server start up not at setting time to the notification
When ServletContext is initialized
ServletContextListener firing more then once
problem in job Scheduling