Skip to content

Commit 5ba5027

Browse files
author
eugenp
committed
static resources project now eclipse web project
1 parent 2c9fa6a commit 5ba5027

3 files changed

Lines changed: 5 additions & 7 deletions

File tree

‎handling-spring-static-resources/.classpath‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,9 @@
1919
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
2020
</attributes>
2121
</classpathentry>
22-
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
23-
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
24-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
22+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
2523
<attributes>
26-
<attribute name="owner.project.facets" value="java"/>
24+
<attribute name="maven.pomderived" value="true"/>
2725
</attributes>
2826
</classpathentry>
2927
<classpathentry kind="output" path="target/classes"/>

‎handling-spring-static-resources/.project‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,18 @@
3131
</arguments>
3232
</buildCommand>
3333
<buildCommand>
34-
<name>org.eclipse.m2e.core.maven2Builder</name>
34+
<name>org.hibernate.eclipse.console.hibernateBuilder</name>
3535
<arguments>
3636
</arguments>
3737
</buildCommand>
3838
<buildCommand>
39-
<name>org.hibernate.eclipse.console.hibernateBuilder</name>
39+
<name>org.eclipse.m2e.core.maven2Builder</name>
4040
<arguments>
4141
</arguments>
4242
</buildCommand>
4343
</buildSpec>
4444
<natures>
45+
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
4546
<nature>org.springframework.ide.eclipse.core.springnature</nature>
4647
<nature>org.eclipse.jdt.core.javanature</nature>
4748
<nature>org.eclipse.m2e.core.maven2Nature</nature>

‎handling-spring-static-resources/src/main/java/org/baeldung/security/MySimpleUrlAuthenticationSuccessHandler.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ public class MySimpleUrlAuthenticationSuccessHandler implements AuthenticationSu
1717

1818
private RedirectStrategy redirectStrategy = new DefaultRedirectStrategy();
1919

20-
@Override
2120
public void onAuthenticationSuccess(HttpServletRequest request, HttpServletResponse response, Authentication authentication) throws IOException {
2221
handle(request, response, authentication);
2322
HttpSession session = request.getSession(false);

0 commit comments

Comments
 (0)