• 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

Jetty can't seem to find an inner class

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi All!
Thanks in advance for looking at this. If this is not the appropriate forum category, feel free to move it.

Basically what I'm doing is creating a .war file from a couple of classes - one of which is a servlet to post
to a workflow in our application.
Builds ok. Deploys ok. But when I try to browse to the servlet, I get an error saying Jetty can't find an inner class.
I've tweaked and debugged, but I still don't see why this would be happening. For sure, I'm not Jetty expert, and our
Architect has Jetty running as a web server in our application container - sort of a built in web server.
No one has had trouble with it before, so I don't think that's the issue. Anyway, here is the stack trace. If anyone can
help, I would be in your debt for a very long time...


 
Ranch Hand
Posts: 110
Google Web Toolkit Java Google App Engine
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you post your code / project tree? I couldn't understand what you meant.

It sounds like class / library version issue or some dependency issue (less likely). Maybe duplicated dependency making the class loader to get confused.
 
Marshal
Posts: 28262
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The most probable reason for that message is that the class that Jetty claims it can't find -- isn't there. You said the project "deploys OK" but that probably just means it deployed without issuing any error messages.

Anyway the JAASBasicAuthenticationFilter$HttpRequestWrapper.class file should be in the same directory as the JAASBasicAuthenticationFilter.class file -- you didn't say you had checked that. I suggest you check.
 
Brady Diggs
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Jayr, thanks Paul. I appreciate both of you looking into this.
Paul, you were right. The class wasn't there. Thanks for pointing
this out to me.
 
reply
    Bookmark Topic Watch Topic
  • New Topic