Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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

 
Ranch Hand
Posts: 336
7
Tomcat Server Ubuntu Linux
  • 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!
 
Sheriff
Posts: 9099
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: 336
7
Tomcat Server Ubuntu Linux
  • 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: 336
7
Tomcat Server Ubuntu Linux
  • 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: 9099
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: 336
7
Tomcat Server Ubuntu Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Marilyn. That was it. I am posting below for others to see...

 
    Bookmark Topic Watch Topic
  • New Topic