You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Sri Sankaran <Sr...@sas.com> on 2003/10/15 05:30:27 UTC

root.maven class loading

Using: Maven 1.0 rc1

Problem:  The root.maven class loader is not finding a class described in the project's dependencies section.

I have the following dependency element in the project.xml

<dependency>
  <groupId>mis-jelly</groupId>
  <artifactId>mis-tags</artifactId>
  <version>0.1</version>
  <properties>
    <classloader>root.maven</classloader>
  </properties>
</dependency>

However, when it is time for a class that is in this jar to be loaded, it fails with a ClassNotFoundException.

I have stepped through Maven's operation with a debugger and gone so far as to confirm that the classloader that tries to load the necessary class is indeed the root.maven classloader.

Additional contextual information:  The class being loaded is a TagLibrary class for a custom tag library.

Do you have any recommendations?

Sri

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org