0 Replies Latest reply on May 3, 2012 10:24 AM by darnap

    Deploying Spring/Hibernate WAR application with package scanning

    darnap

      I'm trying out the Fuse osgi container and I've stumbled upon a rather tricky issue.

      The application is based on Spring MVC and Hibernate, and for both of them the configuration is annotation based and discovered at runtime by means of package scanning (i.e. the /] cannot be resolved to absolute file path because it does not reside in the file system

       

      Apparently the class loader is unable to make use of bundle: urls to retrieve classes.

       

      Is there any workaround for this? Maybe configuring somehow the Jetty web server in such a way that WAR files are unpacked when deployed?

       

      Thanks for any help.