List Info

Thread: OOeBean error in a swt / standalone application




OOeBean error in a swt / standalone application
user name
2006-07-24 16:33:56
(Dear mailinglist, sorry for my last big posting...)
-----------------------

Quoting Stephan Bergmann <stephan.bergmannsun.com>:

>
>
<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:3
1)
>>        at de.zuehlke_it.sgv.SGV.main(SGV.java:171)

regards...

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )