File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Importing JSP project into MyEclipse" Watch "Importing JSP project into MyEclipse" New topic

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,
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 36478
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

Joined: May 14, 2008
Posts: 5772

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

Joined: Aug 29, 2011
Posts: 14
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:
subject: Importing JSP project into MyEclipse
Similar Threads
JSF project structure
what is tomcat's relation with jsp
How to use jar in EAR in Web project ?
Ant script fails because of bad Context Path?
creating of setup