Commit f2cdc2ce by fukai

spring4完善

parent da22fda5
...@@ -298,14 +298,14 @@ ...@@ -298,14 +298,14 @@
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<finalName>business</finalName> <finalName>eibs-springmvc4-support</finalName>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<configuration> <configuration>
<source>1.8</source> <source>1.8</source>
<target>1.8</target> <target>1.8</target>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
......
...@@ -140,7 +140,10 @@ public abstract class AbstractCommonController { ...@@ -140,7 +140,10 @@ public abstract class AbstractCommonController {
ret = ResultUtil.result(ErrorCodes.ERROR, "hander error", e.getMessage()); ret = ResultUtil.result(ErrorCodes.ERROR, "hander error", e.getMessage());
} finally { } finally {
if (context != null) if (context != null)
{
context.getSupport().disconnect();
context.dispose(); context.dispose();
}
} }
return ret; return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment