Maven build issue in AEM 6.4

Parusharam

06-02-2019

Hi,

We  are in process of migrating AEM 6.2 to 6.4. While doing maven build or jenkins build, in existing jsp's some random text is getting appended like "org.apache.maven.project.MavenProject".

example:

actual code should be:<div class="${class}"> and after the build the code is like : <div class="class org.apache.maven.project.MavenProject">.

Any pointers please..

Accepted Solutions (1)

Accepted Solutions (1)

Parusharam

06-02-2019

It worked. In the jsp, variable is created with the name of "class" and whenever  the variable is try to replace the value it is appending the unwanted text as "class"is a keyword. I changed the variable name from "class"to new name it started working fine.

Answers (4)

Answers (4)