Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
public class CizelgemApplication extends AuthDataApplication {
    @Override
    protected void init() {
        super.init();
        IResourceSettings resourceSettings = app.getResourceSettings();
        WebApplicationPath resourceFinder = (WebApplicationPath)resourceSettings.getResourceFinder();
        resourceFinder.add("src/main/webapp"); //this path should be changed
        resourceSettings.setResourceStreamLocator(new PathStripperLocator(resourceFinder));
    }

...