Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Error everytime I include my component which worked earlier

Avatar

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

Avatar

Correct answer by
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

14 Replies

Avatar

Level 4

Hi, Deepak.

Is your app bundle ok?

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

Regards,

Daniel.

Avatar

Level 4

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

Avatar

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.

Avatar

Level 4

Yes. It is being exported by a bundle.

Avatar

Correct answer by
Level 10

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

Avatar

Level 10

Hi Deepak,

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

~ Ratna.

Avatar

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?

Avatar

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

Avatar

Level 4

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

Avatar

Level 4

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

Avatar

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.

Avatar

Level 10

Hi Deepak,

Please mark it as solved, if your issue been resolved 

~ Ratna.

Avatar

Level 4

Ratna Kumar wrote...

Hi Deepak,

Please mark it as solved, if your issue been resolved 

~ Ratna.

I just did