This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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
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: 38519
    
  23
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: 5823
    
    7

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: 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: http://aspose.com/file-tools
 
subject: Importing JSP project into MyEclipse