Skip to content

GRAILS-1879: lib jars unable to load webapp classes #1166

Closed

Description

@graemerocher

Original Reporter: marko
Environment: Not Specified
Version: 1.0-RC1
Migrated From: http://jira.grails.org/browse/GRAILS-1879

When in running using run-app, classes in /lib/*.jars are unable to load classes under /classes.

I believe this is due to the jars (lib/*.jar) not being loaded by the same classloader as everything under “classes”.

It only fails in “dev” mode. As a war the code loads successfully. For me this is a major issue, since i can now only develop using “wars”.

I have attached a bug-report and a test jar file to demonstrate the problem.

If you run-app, you will see a classloading stacktrace when you goto http://localhost:8080//hello

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions