Two Laptop Bag
The moose likes IDEs, Version Control and other tools and the fly likes Create web project in MyEclipse using code from cvs Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Create web project in MyEclipse using code from cvs" Watch "Create web project in MyEclipse using code from cvs" New topic
Author

Create web project in MyEclipse using code from cvs

pinky suresh
Greenhorn

Joined: Jul 21, 2008
Posts: 22
Hi,

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.


David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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
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.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Create web project in MyEclipse using code from cvs
 
Similar Threads
Importing Eclipse project in to MyEclipse 6.6
WSAD-CVS question
Reading a properties file
Eclipse CVS - web project acting "funny"
How to generate a .war file in Eclipse ?