Back | Reverse | Quick Reply | Post Reply |

Tomcat error >.<
Link | by malchiel on 2006-02-28 11:32:06
Take a look at the following error that happens when I try to run my code from NB.



org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
C:\Documents and Settings\Alwyn Aswin\.netbeans\5.0\jakarta-tomcat-5.5.9_base\work\Catalina\localhost\ICS_185_PROJECT_3\org\apache\jsp\display_jsp.java:12: package project2Library does not exist
import project2Library.Order;
^

Basically I have 2 projects. I wanted to reuse some of the codes, so I basically imported all the source files to a new project. However it's weird, even when I have the same exact code, the new project would not run. Yes the JSPs compile just fine, it's just when it's run TOMCAT is spewing the non-sense above.

Perhaps even more baffling is that I have already imported the package project2Library.Order into the new project library >.<

Basically this is the same exact code. I don't understand why it was working in the previous project, but not in the new one. I have even added the exact same libraries into the lib folders too.

Any thought as what could have gone wrong? I'm guess it must have been some pathing issue.

Re: Tomcat error >.<
Link | by Horo on 2006-03-22 21:51:45
look if you didn't forget to import the library when it created the new project

Re: Tomcat error >.<
Link | by malchiel on 2006-03-23 14:35:41
I did horo, that's why it's so baffling to me.

And even more so is when I put it back in, same datapath and everything to the original project2 it works just fine

Oh well one of the mysteries of science I guess >< ~_~

Thanx for the reply nonetheless

Back | Reverse | Quick Reply | Post Reply |

Copyright 2000-2024 Gendou | Terms of Use | Page loaded in 0.0180 seconds at 2024-12-27 14:34:33