Issue in publishing a whole website in AEM | Community
Skip to main content
October 16, 2015
Solved

Issue in publishing a whole website in AEM

  • October 16, 2015
  • 1 reply
  • 798 views

Hi All,

I am facing a problem in publishing a website in aem.

My problem is that , when i publish any static pages using package manager , it works fine .

But when i use any component in my script , it triggers an error in publish instance as:

Unable to compile class for JSP: An error occurred at line: 19 in the generated java file Only a type can be imported. org.training.test.Helloworld resolves to a package

i build and replicate my package everytime when i make changes in script.

underlying bundle is a bundle in my one another project.

even i import this bundle in publish instance using http://localhost:4503/system/console/bundles. it trigger the same error.

can you give me solution for this !!

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

Package you app up into a package then deploy to pub. Once all the AEM files are on publish - including the OSGi bundles and you have the app working on publish, you should be able to update specific pages in your author instance as you make changes. Say you modify text in the welcome page, Simply activate the Welcome page and that replicates it to pub. 

1 reply

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

Package you app up into a package then deploy to pub. Once all the AEM files are on publish - including the OSGi bundles and you have the app working on publish, you should be able to update specific pages in your author instance as you make changes. Say you modify text in the welcome page, Simply activate the Welcome page and that replicates it to pub.