Re: Trouble compiling jsps in embedded

2008-02-25 Thread Joshua Pollak
Just to close the loop on this, it appears the solution was to add: dependency groupIdtomcat/groupId artifactIdjasper-compiler-jdt/artifactId version5.5.15/version scopecompile/scope /dependency To the pom file, in addition

Trouble compiling jsps in embedded

2008-02-22 Thread Joshua Pollak
Hello, I have a project with an embedded tomcat instance which is supposed to be compiling some JSPs. When I run a simple unit test that fetches our index page, I get a javac compiler error in our logs. (See below, complaining that package javax.servlet is missing). I have all the needed

Re: Trouble compiling jsps in embedded

2008-02-22 Thread Wayne Fay
Is there a reason you're sending this message again when I replied to it yesterday, rather than just replying to that message to continue the thread? I'll readily admit that I didn't really give you an answer, but its not polite to send the same message again so quickly, especially without

Re: Trouble compiling jsps in embedded

2008-02-22 Thread Joshua Pollak
Wayne, I apologize, something must have been wrong with my subscription, because neither my post, nor your reply (or any of the other messages posted yesterday) were showing up in my mailbox. I checked the online archive (mail-archives.apache.org) to see if it was something wrong on my

Re: Trouble compiling jsps in embedded

2008-02-22 Thread Wayne Fay
Its ok, you don't need to go overboard apologizing, I just want to make sure you saw my initial response. ;-) For the first issue, I was simply suggesting: build plugins plugin (surefire group, artifact, version) configurations/ executions/ dependencies dependency (servlet-api, etc) /dep /deps,

Trouble compiling jsps in embedded

2008-02-21 Thread Joshua Pollak
Hello, I have a project with an embedded tomcat instance which is supposed to be compiling some JSPs. When I run a simple unit test that fetches our index page, I get a javac compiler error in our logs. (See below, complaining that package javax.servlet is missing). I have all the needed

Re: Trouble compiling jsps in embedded

2008-02-21 Thread Wayne Fay
You could try adding the servlet-api artifact as a dependency to surefire, that might do it. Could you perhaps compile the JSPs with jspc-maven-plugin instead of asking Tomcat to do it? I don't know that its an ideal solution, but we've been using j-m-p for a while very successfully. Wayne On