Thursday, April 21, 2011

Spring Annotation-based controllers not working if it is inside jar file

Hi,

I've some annotation-based controller inside a sub module. These modules are deployed as jar files.

The annotation-based controllers from the jar file is not getting loaded to the spring configuration.

I'm manually exporting the jar file using the export utility in eclipse.

Did any one faced this problem?

From stackoverflow
  • When you export the jar file using the export utility in eclipse there is a option called Add directory entries. Check this option and export the jar file, this will solve the problem.

    Arun P Johny : Thanks man, you saved my day.

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.