Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hookup of Spring 2.5 with Restlet 2 m4

 
Rahul Juneja
Ranch Hand
Posts: 425
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to hookup spring with restlet 2 m04 and having issues with that. I have tried various approaches with "org.restlet.ext.spring.RestletFrameworkServlet" in web.xml and then defining a new file with the name of the restlet. but unfortunately this approach gives me some weird exception as follows.


Appreciated if somebody can give some pointers or clues of what can be wrong with this. also if there is another way to integrate spring with restlet, like if somehow i can configure spring in the old fashioned way and then get access to servlet context in the resource file so i can use that to get the beans in the resource file.

Appreciate any help on this.

Thanks,
Rahul
 
Rahul Juneja
Ranch Hand
Posts: 425
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was able to pass through this as it was missing springwebmvc jar but i actually don;t need that because i am not using spring mvc instead writing plain servlet based restlet application with spring injection. so i may be i went into the wrong direction.

Can anybody give me any clues about how can do this in the spring 2.5 and restlet 2 m04 or m03 ?

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