« Return to Thread: [api-dev] OOeBean error in a swt / standalone application

Re: [api-dev] OOeBean error in a swt / standalone application

by info-1250 :: Rate this Message:

Reply to Author | View in Thread

(Dear mailinglist, sorry for my last big posting...)
-----------------------

Quoting Stephan Bergmann <stephan.bergmann@...>:

>
> <OOo-installation>\program\classes\officebean.jar must be in the CLASSPATH.
>
> -Stephan
>
> [...]
>

Hello Stephan,

thank you for your references, thus I looked for again for the  
differences between Eclipse and mine ?java? call.

Under Eclipse I merged the OOo libraries directly out  
[installdir\program\classes], but i use in my MANIFEST.MF copies from  
there in the [application]\libs dir.

After the following call get ahead I then also a ?small? piece:

>> java -verbose -cp C:\programme\OpenOffice2\program\classes -jar Starter.jar

But a new error was displaying, if I had not already despaired, comes  
then now became I this to. The Error...a conection Error.

>> [Loaded de.zuehlke_it.sgv.view.bbv.BausteineWG$4 from  
>> file:/C:/sgv/Starter.jar]
>> [Loaded de.zuehlke_it.sgv.view.bbv.BausteineWG$5 from  
>> file:/C:/sgv/Starter.jar]
>> [Loaded de.zuehlke_it.sgv.view.bbv.BausteineWG$6 from  
>> file:/C:/sgv/Starter.jar]
>> [Loaded de.zuehlke_it.sgv.view.bbv.BausteineWG$7 from  
>> file:/C:/sgv/Starter.jar]
>> [Loaded de.zuehlke_it.sgv.view.bbv.EditorWG from file:/C:/sgv/Starter.jar]
>> [Loaded de.zuehlke_it.sgv.view.bbv.EditorWG$1 from file:/C:/sgv/Starter.jar]
>> [Loaded de.zuehlke_it.sgv.view.bbv.EditorWG$2 from file:/C:/sgv/Starter.jar]
>> [Loaded de.zuehlke_it.sgv.view.ooo.ControllerOOo from  
>> file:/C:/sgv/Starter.jar]
>> Exception in thread "main" java.lang.NoClassDefFoundError:  
>> >>com/sun/star/comp/beans/NoConnectionException
>>        at de.zuehlke_it.sgv.view.StackView.init(StackView.java:43)
>>        at de.zuehlke_it.sgv.view.MainComp.<init>(MainComp.java:31)
>>        at de.zuehlke_it.sgv.SGV.main(SGV.java:171)

regards...

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

 « Return to Thread: [api-dev] OOeBean error in a swt / standalone application