• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Importing JSP project into MyEclipse

 
Nagendra Shasthri
Ranch Hand
Posts: 35
Chrome Java MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Campbell Ritchie
Sheriff
Pie
Posts: 49368
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not a “beginning” question. Moving . . . let’s try the IDEs forum.
 
Nagendra Shasthri
Ranch Hand
Posts: 35
Chrome Java MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Anthony Roberts
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 35
Chrome Java MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..:-)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic