This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Importing JSP project into MyEclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Importing JSP project into MyEclipse" Watch "Importing JSP project into MyEclipse" New topic
Author

Importing JSP project into MyEclipse

Nagendra Shasthri
Ranch Hand

Joined: Nov 12, 2010
Posts: 35

Dear All,

I have a JSP project..I have created .project file for it..But it is not getting imported to My Eclipse.Shall I have to create some other files?


With Regards,
Shastry
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32830
    
    4
Not a “beginning” question. Moving . . . let’s try the IDEs forum.
Nagendra Shasthri
Ranch Hand

Joined: Nov 12, 2010
Posts: 35

Ok...I have a project coded in JSP and java scripts..I created a .project file for that taking guidance from a previous .project file of a java project...Now it is been imported to MyEclipse..And now I am getting exception "org.apache.jasper.JasperException: Unable to compile class for JSP"...How to resolve the issue?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5575

Rather than creating a .project file by hand, you should instead create a new project within MyEclipse, copy your source files into that project, (and then refresh the project if you copied the sources outside MyEclipse). Then you will have a properly established project within MyEclipse.


JBoss In Action
Anthony Roberts
Greenhorn

Joined: Aug 29, 2011
Posts: 12
Good advice from Peter, there. I'd also add that it looks like you want to create a Web Project. I guess you could add web functionality to a Java project (through right-click on project, Properties->MyEclipse->Project Facets, select Dynamic Web Module), but creating the Web Project new and importing the source is certainly the least error prone.
Nagendra Shasthri
Ranch Hand

Joined: Nov 12, 2010
Posts: 35

Thanks Anthony and Peter..I followed suggestions given by both of you..Created a new Web project and added the extra features..It was just a simple project and working fine now..Thanks for your time..:-)
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Importing JSP project into MyEclipse
 
Similar Threads
creating of setup
JSF project structure
Ant script fails because of bad Context Path?
what is tomcat's relation with jsp
How to use jar in EAR in Web project ?