Posts

Showing posts from March, 2014

Apex - Submit current page via Javascript

Image
In order to submit the current page via JavaScript edit the element that will trigger the event and configure the target as a URL with the following link:

javascript:apex.submit();

Maven - springframework.web.context.ContextLoaderListener org.lang.ClassNotFoundException

Problema:
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

Solución:
Ir a las propriedades del proyecto (botón derecho del ratón sobre el nombre del proyecto)Seleccionar "Deployment Assembly"."Add.. Seleccinar "Java Build Path Entries""Next"Seleccinar "Maven Dependencies" "Finish"

Maven - Update Index Repository

Problema:
Por veces Maven deja de lograr encontrar nuevas dependencias. Una de las soluciones es actualizar los repositorios/indices locales de Maven

Solución:
Window -> Show View -> Maven Repositories

HTTP Status 500 absolute cannot resolved web.xml jar deployed application

Problem:

HTTP Status 500 - The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application

Solution:

Add the following Maven dependency:
<dependency> <groupId>javax.servlet</groupId> <artifactId>jstl</artifactId> <version>1.2</version> </dependency>
Or alternatively dowload and deploy the jstl jar file.