• Post Reply Bookmark Topic Watch Topic
  • New Topic

How do you set the classpath property in a ear f  RSS feed

bob morkos
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the following structure


The content of MANIFEST.MF is as the following:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.5.4
Created-By: 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 as the following:

So, I dont know what I did wrong could anyone help? It seems that the property is not loaded from the ear, dont know why? Any help or ideas would be appreciated. Thanks in advance.
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!