In want to have a local copy of project code and set up a debugging environment in MyEclipse by using code from CVS .
I have downloaded the code from CVS.
Now there are several folders in which each folder has some java files along with web.xml and application-context.xml file,JSP,XML files.
we are using spring with hibernate.
I am not clear on what sections to be copied under web-root , and in src folder of my project.
I copied all java files in packages to src folder by creating the same package name & jsp UI related pages in web root.
But when I deploy this project and run, I am getting "noClassDefinitionError" for spring beans that are clearly defined in bean xml file.
Kinldy let me know if i am missing any thing while creating web project in My Eclipse or please let me know how to create web project from CVS meaning which files should go under which packge.
I hope I have put my question clearly so that its easily understandable.
Why would you modify the layout of the remote code? That will make updating it *very* tedious and error-prone.
pinky suresh
Greenhorn
Joined: Jul 21, 2008
Posts: 22
posted
0
Hi,
Code that we have in CVS is in package structure.
In order to have a local set up, I created web project in MyEclipse and imported the code from CVS.
While imporing, all the java files were imported to src of the project. Now in order to import UI related pages [jsp,html,js] I imported them to webroot folder of my project.
But when i deploy the project, its not able to read the bean definitions from xml file even when the bean definition xml files are in classpath.
I am not able to figure out the mistake that I am doing here.
Please point out the mistake that I am doing & guide me with this.