Hello,
I've been working my way through the STAF getting started guide with success
until trying to run the first demo. When I try to run "java stafdemocontroller"
I see this:
C:\Users\abruss>java stafdemocontroller
Exception in thread "main" java.lang.NoClassDefFoundError: stafdemocontroller
Caused by: java.lang.ClassNotFoundException: stafdemocontroller
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: stafdemocontroller. Program will exit.
This is my class path.
C:\Users\abruss>echo %classpath%
E:\staf\samples\demo\stafdemocontroller.jar;E:\STAF\samples\demo\STAFDemo.jar;E:
\STAF\bin\JSTAF.jar
According to the guide having stafdemo.jar in the classpath should make this
work. What am I doing wrong?
Thanks,
Adam
Adam Bruss
Development Engineer
AWR Corporation/Simulation Technology & Applied Research
11520 N. Port Washington Rd., Suite 201
Mequon, WI 53092 USA
P: 1.262.240.0291 x104
F: 1.262.240.0294
E: abr...@awrcorp.com
W: http://www.awrcorp.com
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users