• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 339
7
Tomcat Server Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 339
7
Tomcat Server Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks, Marilyn. I will try the instructions you posted.
 
margaret gillon
Ranch Hand
Posts: 339
7
Tomcat Server Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 339
7
Tomcat Server Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks, Marilyn. That was it. I am posting below for others to see...

 
reply
    Bookmark Topic Watch Topic
  • New Topic