• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet compile fails, Mac Osx Leopard, cannot find symbol HttpServletRequest

 
margaret gillon
Ranch Hand
Posts: 335
6
Linux Tomcat Server Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I followed the set up instructions for the Cattle Drive servlets and the Orion server is working fine on my machine. I can run localhost and Orion's test page. My problem comes when trying to compile BeeServlet.java. I thought I installed the entire JEE sdk when I started the cattle drive. Because I am on Mac it is an older version. I am on 1.5 but I compile the class assignments using -target 1.4 and -source 1.4. Can anyone with Mac tell me if this is a classpath problem or if I have to reinstall the Java?
Thanks!
 
Marilyn de Queiroz
Sheriff
Posts: 9066
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try reading this thread and see if you can implement any of the suggestions in it. (I'd try the last one I suggested first).
 
margaret gillon
Ranch Hand
Posts: 335
6
Linux Tomcat Server Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Marilyn. I will try the instructions you posted.
 
margaret gillon
Ranch Hand
Posts: 335
6
Linux Tomcat Server Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Marilyn,

I went to the link in the instructions you posted and the download now is a linux.bin file, not a zip. I searched the sun site for the file name in your instructions but did not find it. The find went to links that went back to the download page with the binary.

Other ideas? I have Netbeans installed but again it is using the 1.5 JEE. I would be willing to install other packages that might have the older JEE in them. I am also curious as to why the class wasn't found since I have the 1.5 JEE installed (path issues?)
 
Marilyn de Queiroz
Sheriff
Posts: 9066
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Marilyn de Queiroz wrote:Here's an idea that works for me. Take the j2ee.jar out of your classpath and add orion.jar (from the orion install directory) to your classpath.

Can you compile? I could.
 
margaret gillon
Ranch Hand
Posts: 335
6
Linux Tomcat Server Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Marilyn. That was it. I am posting below for others to see...

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic