Error everytime I include my component which worked earlier | Community
Skip to main content
deepakt84913413
March 9, 2017
Solved

Error everytime I include my component which worked earlier

  • March 9, 2017
  • 14 replies
  • 2466 views

Hi,

I get this error every time I include my parsys component which actually worked a while ago. In the CRX I can see a new node formed for the component in /content/mypage but when I refresh the page, I cannot the see the component again. But the node is still present in CRX. When I include the same component again, I see some duplicate nodes formed in the CRX.

 

I also am getting my head.jsp no compiled every time I restart my server(even though I recompile my JSPs). I have to uninstall and install my foundation packages every time I start my server which is basically everyday. I really need help with this.

I have attached the picture of the error when the component is included.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

Your issue is WPSSettings class not found - place your code on a fresh install of AEM and see what happens. 

14 replies

daniel_henriqu1
March 9, 2017

Hi, Deepak.

Is your app bundle ok?

Have you check its status at http://localhost:4502/system/console/bundles?

Regards,

Daniel.

deepakt84913413
March 10, 2017

Yes. Every Bundle is active. I have uninstalled and installed them again a lot of times.

daniel_henriqu1
March 10, 2017

I see...

Are the package com.pnc.foundation or its subpackages being exported by the bundle?

When you use the Dep Finder to locate com.pnc.foundation.services.settings.WPSettings, what do you get?

Regards,

Daniel.

deepakt84913413
March 10, 2017

Yes. It is being exported by a bundle.

smacdonald2008
smacdonald2008Accepted solution
March 10, 2017

Your issue is WPSSettings class not found - place your code on a fresh install of AEM and see what happens. 

Ratna_Kumar
March 13, 2017

Hi Deepak,

Yes, as scott stated, please try to build your bundle in fresh install of AEM.

~ Ratna.

deepakt84913413
March 14, 2017

Could you help me with the steps to fresh install? I think I am doing it wrong. Can I use the same jar file or not?

Prince_Shivhare
Community Advisor
Community Advisor
March 14, 2017

Hi,

Do you have a fresh jar file which is not extract?

you can copy the jar file which is not extract and rename it for author and publish.

and build your bundles.

~ Prince

deepakt84913413
March 14, 2017

I installed a fresh instance. I am importing the content packages now. Lets see how it turns out..

deepakt84913413
March 14, 2017

I figured it out. It is working now. Thank you.