Foros de discusión

errors for JSP in eclipse

thumbnail
lou cat, modificado hace 11 años.

errors for JSP in eclipse

Regular Member Mensajes: 196 Fecha de incorporación: 26/01/12 Mensajes recientes
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 hace 11 años.

RE: errors for JSP in eclipse (Respuesta)

Regular Member Mensajes: 196 Fecha de incorporación: 26/01/12 Mensajes recientes
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.