Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Netbeans 6.8M1 and JAX-RS using Jersey problems

 
John Brosan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,

I am trying to do a simple hello world REST app using Netbeans 6.8M1 on Ubuntu Linux 9.10BETA using Jersey

I am getting the following error. I am sure that I am missing something simple, but can't seem to put my finger on it.

Here is the error that I am receiving. Not sure why its not building the jar. I am a bit of a neophyte, so any assistance would be most appreciated.






Here is my EJB




Here is the web.xml which is where I think the issue may be.




Any assistance would be GREATLY appreciated.

John
 
John Brosan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I feel like an idiot, it appears that the RestApp-War project somehow got changed from being the main project to NOT the main project. I set it to the main project again and it works!

Sorry everyone.

Thanks,
John
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic