unresolved compilation problems

praveenk9004043

04-07-2016

Hi Friends,

I am getting when I select Forms>>Letters let me know whether I need to install any Fixed pack for forms.

~Unresolved compilation problems: Only a type can be imported. com.adobe.icc.dbforms.obj.AssetType resolves to a package Only a type can be imported. com.adobe.icc.dbforms.util.ACMUtil resolves to a package Only a type can be imported. com.adobe.icc.dbforms.exceptions.ExceptionCodes resolves to a package AssetType cannot be resolved to a type ACMUtil cannot be resolved ExceptionCodes.TEXT_MODULE cannot be resolved to a type ExceptionCodes.CONDITION_MODULE cannot be resolved to a type ExceptionCodes.LIST_MODULE cannot be resolved to a type ExceptionCodes.LETTER cannot be resolved to a type ExceptionCodes.LETTER cannot be resolved to a type

~Cannot serve request to /aem/forms/assets.html/Letter in /libs/fd/cm/ma/gui/components/admin/endor/breadcrumbs/breadcrumbs.jsp

 

Attached screen shot for your reference

Regards

Pr@veen

Accepted Solutions (1)

Accepted Solutions (1)

Annu_Ramnani

07-07-2016

Hi Praveen,

This issue you mentioned above

~Unresolved compilation problems: Only a type can be imported. com.adobe.icc.dbforms.obj.AssetType resolves to a package Only a type can be imported. com.adobe.icc.dbforms.util.ACMUtil resolves to a package Only a type can be imported. com.adobe.icc.dbforms.exceptions.ExceptionCodes resolves to a package AssetType cannot be resolved to a type ACMUtil cannot be resolved ExceptionCodes.TEXT_MODULE cannot be resolved to a type ExceptionCodes.CONDITION_MODULE cannot be resolved to a type ExceptionCodes.LIST_MODULE cannot be resolved to a type ExceptionCodes.LETTER cannot be resolved to a type ExceptionCodes.LETTER cannot be resolved to a type

~Cannot serve request to /aem/forms/assets.html/Letter in /libs/fd/cm/ma/gui/components/admin/endor/breadcrumbs/breadcrumbs.jsp

usually occurs when you load the page before the JSP is successfully compiled. Can you try opening the /libs/fd/cm/ma/gui/components/admin/endor/breadcrumbs/breadcrumbs.jsp file in CRX DE and explicitly saving it.

Answers (4)

Answers (4)

praveenk9004043

07-07-2016

Hi Annu/Mani,

Not able to attach the complete stack trace i am getting this error because in breadcrum.jsp file i am referring the below 2 classes not available in my aem instance. to get these classes i need to install any specific package

i get this error when i click Form>>Letters

Form>>Document Fragments

Form>>Data Dictionaries 

com.adobe.icc.dbforms.obj.AssetType

com.adobe.icc.dbforms.util.ACMUtil

entire stack trace is attached in the screen shot

Below is the partial stack trace of the issue

Unresolved compilation problems: Only a type can be imported. com.adobe.icc.dbforms.obj.AssetType resolves to a package Only a type can be imported. com.adobe.icc.dbforms.util.ACMUtil resolves to a package Only a type can be imported. com.adobe.icc.dbforms.exceptions.ExceptionCodes resolves to a package AssetType cannot be resolved to a type ACMUtil cannot be resolved ExceptionCodes.TEXT_MODULE cannot be resolved to a type ExceptionCodes.CONDITION_MODULE cannot be resolved to a type ExceptionCodes.LIST_MODULE cannot be resolved to a type ExceptionCodes.LETTER cannot be resolved to a type ExceptionCodes.LETTER cannot be resolved to a type

Cannot serve request to /aem/forms/assets.html/Letter in /libs/fd/cm/ma/gui/components/admin/endor/breadcrumbs/breadcrumbs.jsp

Exception:

java.lang.Error: Unresolved compilation problems: 
    Only a type can be imported. com.adobe.icc.dbforms.obj.AssetType resolves to a package
    Only a type can be imported. com.adobe.icc.dbforms.util.ACMUtil resolves to a package
    Only a type can be imported. com.adobe.icc.dbforms.exceptions.ExceptionCodes resolves to a package
    AssetType cannot be resolved to a type
    ACMUtil cannot be resolved
    ExceptionCodes.TEXT_MODULE cannot be resolved to a type
    ExceptionCodes.CONDITION_MODULE cannot be resolved to a type
    ExceptionCodes.LIST_MODULE cannot be resolved to a type
    ExceptionCodes.LETTER cannot be resolved to a type
    ExceptionCodes.LETTER cannot be resolved to a type

mayankg

Employee

07-07-2016

Praveen, Please suppply complete stack trace as it is not clear form the exception trace as to which node is giving oakConstraint exception during the installation of AEM Sp1 package.

praveenk9004043

05-07-2016

on trying to resolve the issue we need to install the aem-service-pkg-wrapper-6.1.SP1.zip

when I try to install the ~aem-service-pkg-wrapper-6.1.SP1.zip package getting the below error

~Could not Install Package

"org.apache.jackrabbit.vault.packaging.PackageException: javax.jcr.nodetype.ConstraintViolationException: OakConstraint0001: /apps[[nt:folder, rep:AccessControllable]]: No matching definition found for child node cq with effective type [nt:unstructured]"

 

Please do help me to resolve this issue

Regards

Pr@veen