JBO-29000: Unexpected exception caught: java.util.MissingResourceException, msg=

oracle.jbo.jbotester.ErrorHandler$ExceptionWrapper: JBO-29000: Unexpected exception caught: java.util.MissingResourceException, msg=unable to find bundle for:TestModelBundle

 

 Cause

   can not find bundle file.

Caused by: java.util.MissingResourceException: unable to find bundle for:TestModelBundle
	at oracle.javatools.resourcebundle.BundleFactory.getBundle(BundleFactory.java:255)
	at oracle.jbo.common.GenericResourceBundleDef.createResourceBundle(GenericResourceBundleDef.java:143)
	at oracle.jbo.common.PropertiesBundleDef.createResourceBundle(PropertiesBundleDef.java:86)
	at oracle.jbo.common.NamedObjectImpl.getResourcesFromBundle(NamedObjectImpl.java:720)

 

Solution

 

   1. Open the link source file, check below setting.

 <ResourceBundle>
    <PropertiesBundle
      PropertiesFile="com.mytest.model.TestModelBundle"/>
  </ResourceBundle>

<Properties>
    <SchemaBasedProperties>
      <LABEL
        ResId="com.mytest.model.vo.TdPrdtPassportFkLink_LABEL"/>
    </SchemaBasedProperties>
  </Properties>

 2. Right click Model project, select “Project Properites”->"Resource Bundle", check package name

你可能感兴趣的:(exception)