Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Missing Class Def in parasoft.jar

Options
LegacyForum
LegacyForum Posts: 1,664 ✭✭
Using HttpUnit Test Cases
Running Webking 5.5 and trying to run an API class generated by Webking HttpUnit Test Case but keep getting this error when running the class.

java.lang.NoClassDefFoundError: com/parasoft/reporting/AttributeHandler
at webking.api.app.WebKing.setupMessageCollector(Unknown Source)
at webking.api.app.WebKing.setupMessageCollector(Unknown Source)
at webking.api.app.WebKing.(Unknown Source)
at webking.httpunit.WebKing.(Unknown Source)
at webking.httpunit.WebKing.getInstance(Unknown Source)
at webking.httpunit.WebKing.getInstance(Unknown Source)
at webking.httpunit.WebKing.getInstance(Unknown Source)
at webking.httpunit.WebKingConversation.(Unknown Source)
at GlobalVelocity.testGlobalVelocity(GlobalVelocity.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at GlobalVelocity.main(GlobalVelocity.java:85)

I looked in the parasoft.jar file and com/parasoft/reporting does not exist.

Thought there might be a patch to fix this and went to http://webking.parasoft.com/sp/ but you guys claim to have released 6.0 but it's not available at http://www.parasoft.com/jsp/PseudoFTP.

So can I get a corrected parasoft.jar file or a place to download 6.0?

Comments

  • LegacyForum
    LegacyForum Posts: 1,664 ✭✭
    edited January 2007
    Options
    In order to run the WebKing HttpUnit test cases your need to have every jar file in the WebKing installation root directory on you classpath. The specific class causing this error is in the grtlogger.jar file located in the installation directory. By default the installation directory is C:\Prgram Files\Parasoft\WebKing\5.5.

    The Stand-Alone test cases require fewer jars on your class path to run. For more information see HttpUnit Test Cases - Compiling and Running the Generated Class in the WebKing documentation.