ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tcljava-user
tcljava-user
Re: [tcljava-user] Java loader failed to load the class
by Mo DeJong other posts by this author
Apr 19 2006 4:51PM messages near this date
[tcljava-user] Java loader failed to load the class | RE: [tcljava-user] Java loader failed to load the class
On Tue, 18 Apr 2006 16:02:49 -0400
"Zapar, Will" <Will_Zapar@[...].com>  wrote:

>  "java::load -classpath
>  /opt/BACCTools/lib/bprjar/com/cisco/provisioning/cpe/
>  java.lang.Object.com.cisco.provisioning.cpe.PACEConnectionFactory.class"
>      (file "./tcljava.tcl" line 54)

Will, you need to pass the name of the class, not including the trailing ".class" bit
at the end. For example, [java::load foo.bar.Baz] not [java::load foo.bar.Baz.class].
I hope that was the cause of your problem, your post includes many many lines of
code, far to many to scan through. Postings should just include a little snip of
code that causes the problem.

cheers
Mo DeJong


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
tcljava-user mailing list
tcljava-user@[...].net
https://lists.sourceforge.net/lists/listinfo/tcljava-user
Thread:
Will Zapar
Mo DeJong
Will Zapar

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved