Skip to content

Commit 30445bf

Browse files
fixed #281, fixed #282
1 parent 9d86f68 commit 30445bf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/main/java/org/woehlke/twitterwall/frontend/controller/pages/ErrorController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public ResponseEntity<Map<String, Object>> error(HttpServletRequest request) {
6565
return new ResponseEntity<Map<String, Object>>(body, status);
6666
}
6767

68+
@Autowired
6869
public ErrorController(ErrorAttributes errorAttributes, ContentFactory contentFactory, BackendProperties backendProperties, FrontendProperties frontendProperties, SchedulerProperties schedulerProperties, TestdataProperties testdataProperties, TwitterProperties twitterProperties, OtherProperties otherProperties) {
6970
this(errorAttributes,
7071
Collections.<ErrorViewResolver>emptyList(),contentFactory, backendProperties, frontendProperties, schedulerProperties,testdataProperties, twitterProperties, otherProperties);
@@ -74,7 +75,6 @@ public ErrorController(ErrorAttributes errorAttributes, ContentFactory contentFa
7475
private static final Logger log = LoggerFactory.getLogger(ErrorController.class);
7576

7677

77-
@Autowired
7878
private ErrorController(ErrorAttributes errorAttributes, List<ErrorViewResolver> errorViewResolvers, ContentFactory contentFactory, BackendProperties backendProperties, FrontendProperties frontendProperties, SchedulerProperties schedulerProperties, TestdataProperties testdataProperties, TwitterProperties twitterProperties, OtherProperties otherProperties) {
7979
super(errorAttributes, errorViewResolvers);
8080
this.contentFactory = contentFactory;

twitterwall2.iml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
</content>
1818
<orderEntry type="inheritedJdk" />
1919
<orderEntry type="sourceFolder" forTests="false" />
20+
<orderEntry type="library" name="Maven: org.springframework.session:spring-session-jdbc:1.3.1.RELEASE" level="project" />
21+
<orderEntry type="library" name="Maven: org.springframework.session:spring-session:1.3.1.RELEASE" level="project" />
2022
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-web:1.5.7.RELEASE" level="project" />
2123
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:1.5.7.RELEASE" level="project" />
2224
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-tomcat:1.5.7.RELEASE" level="project" />

0 commit comments

Comments
 (0)