Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3353

Getting java.lang.NoClassDefFoundError:com/businessobjects/i18n/locale/BoLocale when setting Date prompts for webi using Java SDK

$
0
0

Hi,

 

Environment: SAP BI 4.1 SP06 Patch 4

 

We are using Java SDK  to refresh a webi report, set prompts and save the report as PDF.The code executes well in Eclipse and gives the desired output.But while configuring as a program object in CMC we are getting the following error.

 

 

Exception in thread "main" java.lang.NoClassDefFoundError: com/businessobjects/i18n/locale/BoLocale

  at com.businessobjects.rebean.wi.internal.dp.prompt.FormatNumberHelper.getInputDate(FormatNumberHelper.java:152)

  at com.businessobjects.rebean.wi.internal.dp.prompt.FormatNumberHelper.formatStringToField(FormatNumberHelper.java:112)

  at com.businessobjects.rebean.wi.internal.dp.prompt.WIPrompt.prepareAnswers(WIPrompt.java:157)

  at com.businessobjects.rebean.wi.internal.dp.prompt.WIPrompts.provideAnswers(WIPrompts.java:99)

  at com.businessobjects.rebean.wi.internal.WIDocumentInstance.setPrompts(WIDocumentInstance.java:627)

  at com.Summary.run(Summary.java:194)

  at com.crystaldecisions.sdk.plugin.desktop.program.internal.ProgramWrapper.main(ProgramWrapper.java:174)

Caused by: java.lang.ClassNotFoundException: com.businessobjects.i18n.locale.BoLocale

  at java.net.URLClassLoader$1.run(URLClassLoader.java:255)

  at java.security.AccessController.doPrivileged(Native Method)

  at java.net.URLClassLoader.findClass(URLClassLoader.java:243)

  at java.lang.ClassLoader.loadClass(ClassLoader.java:372)

  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:344)

  at java.lang.ClassLoader.loadClass(ClassLoader.java:313)

 

 

The Server Locale is set to English(UK).

The Prompt.getInputFormat() is    M'/'d'/'yyyy h':'mm':'ss a

 

Thanks,

Peri


Viewing all articles
Browse latest Browse all 3353

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>