classpath « ear « Java Enterprise Q&A





1. Find all resources in the classpath that match    stackoverflow.com

i have specified a naming convention for all config files for my framework (like *-custom.xml). How do i find all files that match this convention in my ear? Greetings, Alexander

2. Java classpath loading question    stackoverflow.com

I'm wonder what would happen, if I have an application with couple ears and wars, and in each of them class named "Test"? Is it jar hell? What classes would load first (from ...

3. ClassNotFoundException: org.jaxen.JaxenException in ear file    stackoverflow.com

I'm baffled by what is going on here. I keep getting the following exception:

Caused by: java.lang.ClassNotFoundException: org.jaxen.JaxenException
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
      ...

4. How do you set the classpath property in a ear f    coderanch.com

I have the following structure EAR --meta-inf/MANIFEST.MF BootStrap.properties *.jar application.xml dataSources.xml ... The content of MANIFEST.MF is as the following: Manifest-Version: 1.0 Ant-Version: Apache Ant 1.5.4 Created-By: 9.0.3.738 cdov (Oracle Corp.) Class-Path: BootStrap.properties But when I run the program I get the following error: java.lang.ExceptionInInitializerError: java.util.MissingResourceException: Can't find bundle for base name BootStrap, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:712) The java code is ...