Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Error everytime I include my component which worked earlier

deepakt84913413
Level 4
Level 4

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.

1 Accepted Solution
smacdonald2008
Correct answer by
Level 10
Level 10

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

View solution in original post

0 Replies
daniel_henriqu1
Level 4
Level 4

Hi, Deepak.

Is your app bundle ok?

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

Regards,

Daniel.

deepakt84913413
Level 4
Level 4

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

daniel_henriqu1
Level 4
Level 4

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.

smacdonald2008
Correct answer by
Level 10
Level 10

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

View solution in original post

Ratna_Kumar
Community Advisor
Community Advisor

Hi Deepak,

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

~ Ratna.

deepakt84913413
Level 4
Level 4

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

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
Level 4
Level 4

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

deepakt84913413
Level 4
Level 4

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

deepakt84913413
Level 4
Level 4

Not sure. I just installed a fresh instance. I Still have to install the content package to see if the content is rendering fine.

Ratna_Kumar
Community Advisor
Community Advisor

Hi Deepak,

Please mark it as solved, if your issue been resolved 

~ Ratna.

deepakt84913413
Level 4
Level 4

Ratna Kumar wrote...

Hi Deepak,

Please mark it as solved, if your issue been resolved 

~ Ratna.

I just did