Fórum

errors for JSP in eclipse

thumbnail
lou cat, modificado 11 Anos atrás.

errors for JSP in eclipse

Regular Member Postagens: 196 Data de Entrada: 26/01/12 Postagens Recentes
Hi!

I'm creating/importing the hooks I previously developed in SDK within Eclipse Indigo, they work fine and are correctly deployed in Liferay 6.1, but in Eclipse I got JSP errors, such as:

warning: unknown tag (for c:choose)
and consequently all other java errors.

I've tried to import the taglib in the library as mentioned in other threads and online but nothing changed.

Ideas?

thanks emoticon
thumbnail
lou cat, modificado 11 Anos atrás.

RE: errors for JSP in eclipse (Resposta)

Regular Member Postagens: 196 Data de Entrada: 26/01/12 Postagens Recentes
solved.

After creating a Liferay Project with the hook type, I had to actually create the hook using "New Liferay Hook" and then selecting hook type: "custom_jsps".
That wizard helps importing the JSPs to customize and it deals better with all the dependencies.