Skip to main content
deepakt84913413
Level 4
Mar 9, 2017 6:25 PM UTC
Solved

Error everytime I include my component which worked earlier

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.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Mar 10, 2017 8:10 PM UTC

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

14 replies

daniel_henriqu1
Level 4
Mar 9, 2017 10:51 PM UTC

Hi, Deepak.

Is your app bundle ok?

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

Regards,

Daniel.

Translate
deepakt84913413
Level 4
Mar 10, 2017 2:09 PM UTC

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

Translate
daniel_henriqu1
Level 4
Mar 10, 2017 2:32 PM UTC

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.

Translate
deepakt84913413
Level 4
Mar 10, 2017 2:42 PM UTC

Yes. It is being exported by a bundle.

Translate
smacdonald2008
smacdonald2008Accepted solution
Level 10
Mar 10, 2017 8:10 PM UTC

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

Translate
Ratna_Kumar
Level 10
Mar 13, 2017 6:51 AM UTC

Hi Deepak,

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

~ Ratna.

Translate
deepakt84913413
Level 4
Mar 14, 2017 2:02 PM UTC

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?

Translate
Prince_Shivhare
Community Advisor
Community Advisor
Mar 14, 2017 3:17 PM UTC

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

Translate
deepakt84913413
Level 4
Mar 14, 2017 3:26 PM UTC

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

Translate
deepakt84913413
Level 4
Mar 14, 2017 3:27 PM UTC

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

Translate