Hi,

I think the clue is this:

java.lang.ClassNotFoundException: Cannot find class or component named PermissionWrapper in runtime or in a loadable bundle

Is PermissionWrapper in another framework?

If so, you need to add that framework to your project.

Right-click on your 'Ptm' project in Eclipse, click on 'Properties'
Select 'Java Build Path'
Select 'Libraries' tab
Click 'Add Library'
Select 'WebObjects Framework'
Tick the one you want to add,
Click 'Finish'
Click 'Ok'

Hopefully that should do it.

Mark


On 6 Aug 2010, at 15:47, vaibhav srivastava wrote:




Hi Team,

I am a newbie to webobjects and working on some custom project . When click one of the tab of projects ui i get this error .


Please could you let me what this error is and why is it coming .
Attaching the stack trace.

com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request: Caused by: com.webobjects.foundation.NSForwardException [java.lang.ClassNotFoundException] Cannot find class or component named PermissionWrapper in runtime or in a loadable bundle:<com.webobjects.appserver._private.WOComponentDefinition: Error parsing template for Component : 'file:/XYZ/ASD/src/forge_co/ PM/source/PM/build/PtM.woa/Contents/Resources/PDSExportPage.wo': java.lang.ClassNotFoundException: Cannot find class or component named PermissionWrapper in runtime or in a loadable bundle at com.webobjects.appserver._private.WOComponentDefinition.template (WOComponentDefinition.java:377) at com.webobjects.appserver.WOComponent.template(WOComponent.java: 499) at com.webobjects.appserver.WOComponent.appendToResponse (WOComponent.java:1112) at com.apple.store.webtoolkit.wo.ASWOComponent.appendToResponse (ASWOComponent.java:108)
        ... 17 more
Caused by: java.lang.ClassNotFoundException: Cannot find class or component named PermissionWrapper in runtime or in a loadable bundle at com.webobjects.appserver.parser.WOHTMLWebObjectTag._componentReference WithClassNameDeclarationAndTemplate(WOHTMLWebObjectTag.java:168) at com.webobjects.appserver.parser.WOHTMLWebObjectTag._elementWithDeclara tion(WOHTMLWebObjectTag.java:241) at com.webobjects.appserver.parser.WOHTMLWebObjectTag.dynamicElement (WOHTMLWebObjectTag.java:155) at com.webobjects.appserver.parser.WOBundleComponentTemplateParser.didPar seClosingWebObjectTag(WOBundleComponentTemplateParser.java:68) at com.webobjects.appserver.parser.WOHTMLParser.didParseClosingWebObjectT ag(WOHTMLParser.java:194) at com.webobjects.appserver.parser.WOHTMLParser.endOfWebObjectTag (WOHTMLParser.java:161) at com.webobjects.appserver.parser.WOHTMLParser.parseHTML (WOHTMLParser.java:68) at com.webobjects.appserver.parser.WOBundleComponentTemplateParser.parse( WOBundleComponentTemplateParser.java:109) at com.webobjects.appserver.parser.WOHTMLTemplateParser.parse (WOHTMLTemplateParser.java:40) at com.webobjects.appserver.parser.WOComponentTemplateParser.templateWith HTMLAndDeclaration(WOComponentTemplateParser.java:438) at com.webobjects.appserver._private.WOComponentDefinition.template (WOComponentDefinition.java:366)
        ... 20 more


Pleaselet me know as soon as possible since i am suck up .

O    k


Regards
Cool



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to