Struts-hibernate project : error in tomcat 6 deployment?

It seems that the problem is caused by fact that the class: net.web.classifieds.plugins. Struts2Dispatcher is not found. Make sure that this class is attached to the war file, which you are trying to deploy.

It seems that the problem is caused by fact that the class: net.web.classifieds.plugins. Struts2Dispatcher is not found. Make sure that this class is attached to the war file, which you are trying to deploy.

If you have implemented this class yourself, it should be found from WEB-INF/classes/net/web/classifieds/plugins/ directory. You can verify this by unzipping the war file, and checking if the class is found. On the other hand, if the class is a part of a library implemented by someone else, you should find the jar file containing this class from WEB-INF/lib directory.

However, it would be useful to see your build script, if this does not solve the problem.

Thanks Petri for the reply. Yes the problem stated here was in the build. Xml file.

The fileset dir was set to instead of . Now I have rectified the problem, and the structure within the war file seems to be fine. Still I have the same error in the manager console FAIL - Application at context path /classifieds could not be started – Miltan Chaudhury May 28 '10 at 6:08 Here is the latest error from error log : May 28, 2010 12:00:38 PM org.apache.catalina.core.

StandardContext filterStart SEVERE: Exception starting filter struts2 javax.servlet. ServletException: org.hibernate. MappingException: Could not determine type for: org.apache.commons.logging.

Log, for columns: org.hibernate.mapping. Column(LOG) at net.web.classifieds.plugins. Struts2Dispatcher.

Init(Unknown Source) – Miltan Chaudhury May 28 '10 at 8:02 This error is caused by hibernate. It seems that something is wrong with your hibernate mapping. Are you trying to log something in to the database?

– pkainulainen May 28 '10 at 9:13 Yes Petri, I understand that, . And accordingly investigating the issue .. here are few more clues to get it solved : I have used eclipse plugin, to generate the .hbm. Xml mapping files and the Java files those are mapped to DB tables.

I am doing this autogeneration for the first time, I found that some Home files are created there, like ... I have a table auction, accordingly I have the Auction. Java and Auction.hbm. Xml files generated.

But here I also see AuctionHome. Java and AuctionHome.hbm. Xml files generated.

Please help. Thanks a lot for following up the issue. – Miltan Chaudhury May 28 '10 at 9:54 I have removed the Home.

Files from the directory, and now I get the error : May 28, 2010 3:29:26 PM org.apache.catalina.core. StandardContext filterStart SEVERE: Exception starting filter struts2 javax.servlet. ServletException: org.hibernate.

MappingNotFoundException: resource: net/web/classifieds/vo/AdminHome.hbm. Xml not found at net.web.classifieds.plugins. Struts2Dispatcher.

Init(Unknown Source) at org.apache.catalina.core. ApplicationFilterConfig. GetFilter(ApplicationFilterConf?ig.

Java:295) ... This application is nothing private, so I can mail the compressed source code to you for review – Miltan Chaudhury May 28 '10 at 10:05.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions