[11:48:17:331] [ERROR] - cn.wkgb.common.exception.DefaultExceptionHandler.conversionErrorHandler(DefaultExceptionHandler.java:31) - 参数异常捕获
org.springframework.transaction.TransactionSystemException: Could not commit JPA transaction; nested exception is javax.persistence.RollbackException: Transaction marked as rollbackOnly
at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:526) ~[spring-orm-4.3.20.RELEASE.jar:4.3.20.RELEASE]
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:765) ~[spring-tx-4.3.20.RELEASE.jar:4.3.20.RELEASE]
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:734) ~[spring-tx-4.3.20.RELEASE.jar:4.3.20.RELEASE]
at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:518) ~[spring-tx-4.3.20.RELEASE.jar:4.3.20.RELEASE]
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:292) ~[spring-tx-4.3.20.RELEASE.jar:4.3.20.RELEASE]
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.3.20.RELEASE.jar:4.3.20.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.3.20.RELEASE.jar:4.3.20.RELEASE]
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) ~[spring-aop-4.3.20.RELEASE.jar:4.3.20.RELEASE]
at com.sun.proxy.
P
r
o
x
y
194.
a
p
p
r
o
v
e
d
(
U
n
k
n
o
w
n
S
o
u
r
c
e
)
[
?
:
?
]
a
t
c
n
.
w
k
g
b
.
s
y
s
t
e
m
.
c
o
n
t
r
o
l
.
S
y
s
S
i
g
n
e
d
R
e
s
u
l
t
C
o
n
t
r
o
l
.
s
a
v
e
(
S
y
s
S
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R
E
L
E
A
S
E
.
j
a
r
:
4.3.20.
R
E
L
E
A
S
E
]
a
t
j
a
v
a
x
.
s
e
r
v
l
e
t
.
h
t
t
p
.
H
t
t
p
S
e
r
v
l
e
t
.
s
e
r
v
i
c
e
(
H
t
t
p
S
e
r
v
l
e
t
.
j
a
v
a
:
742
)
[
t
o
m
c
a
t
−
e
m
b
e
d
−
c
o
r
e
−
8.5.34.
j
a
r
:
8.5.34
]
a
t
o
r
g
.
e
c
l
i
p
s
e
.
j
e
t
t
y
.
s
e
r
v
l
e
t
.
S
e
r
v
l
e
t
H
o
l
d
e
r
.
h
a
n
d
l
e
(
S
e
r
v
l
e
t
H
o
l
d
e
r
.
j
a
v
a
:
865
)
[
j
e
t
t
y
−
s
e
r
v
l
e
t
−
9.4.12.
v
20180830.
j
a
r
:
9.4.12.
v
20180830
]
a
t
o
r
g
.
e
c
l
i
p
s
e
.
j
e
t
t
y
.
s
e
r
v
l
e
t
.
S
e
r
v
l
e
t
H
a
n
d
l
e
r
Proxy194.approved(Unknown Source) ~[?:?] at cn.wkgb.system.control.SysSignedResultControl.save(SysSignedResultControl.java:32) ~[classes/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144] at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) ~[spring-web-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133) ~[spring-web-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97) ~[spring-webmvc-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:849) ~[spring-webmvc-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:760) ~[spring-webmvc-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) ~[spring-webmvc-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967) [spring-webmvc-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901) [spring-webmvc-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) [spring-webmvc-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872) [spring-webmvc-4.3.20.RELEASE.jar:4.3.20.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:661) [tomcat-embed-core-8.5.34.jar:8.5.34] at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) [spring-webmvc-4.3.20.RELEASE.jar:4.3.20.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) [tomcat-embed-core-8.5.34.jar:8.5.34] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:865) [jetty-servlet-9.4.12.v20180830.jar:9.4.12.v20180830] at org.eclipse.jetty.servlet.ServletHandler
Proxy194.approved(UnknownSource) [?:?]atcn.wkgb.system.control.SysSignedResultControl.save(SysSignedResultControl.java:32) [classes/:?]atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod) [?:1.8.0144]atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [?:1.8.0144]atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0144]atjava.lang.reflect.Method.invoke(Method.java:498) [?:1.8.0144]atorg.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) [spring−web−4.3.20.RELEASE.jar:4.3.20.RELEASE]atorg.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133) [spring−web−4.3.20.RELEASE.jar:4.3.20.RELEASE]atorg.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97) [spring−webmvc−4.3.20.RELEASE.jar:4.3.20.RELEASE]atorg.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:849) [spring−webmvc−4.3.20.RELEASE.jar:4.3.20.RELEASE]atorg.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:760) [spring−webmvc−4.3.20.RELEASE.jar:4.3.20.RELEASE]atorg.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) [spring−webmvc−4.3.20.RELEASE.jar:4.3.20.RELEASE]atorg.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)[spring−webmvc−4.3.20.RELEASE.jar:4.3.20.RELEASE]atorg.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)[spring−webmvc−4.3.20.RELEASE.jar:4.3.20.RELEASE]atorg.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)[spring−webmvc−4.3.20.RELEASE.jar:4.3.20.RELEASE]atorg.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)[spring−webmvc−4.3.20.RELEASE.jar:4.3.20.RELEASE]atjavax.servlet.http.HttpServlet.service(HttpServlet.java:661)[tomcat−embed−core−8.5.34.jar:8.5.34]atorg.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)[spring−webmvc−4.3.20.RELEASE.jar:4.3.20.RELEASE]atjavax.servlet.http.HttpServlet.service(HttpServlet.java:742)[tomcat−embed−core−8.5.34.jar:8.5.34]atorg.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:865)[jetty−servlet−9.4.12.v20180830.jar:9.4.12.v20180830]atorg.eclipse.jetty.servlet.ServletHandlerCachedChain.doFilter(ServletHandler.java:1655) [jetty-servlet-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:215) [websocket-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.servlet.ServletHandler
C
a
c
h
e
d
C
h
a
i
n
.
d
o
F
i
l
t
e
r
(
S
e
r
v
l
e
t
H
a
n
d
l
e
r
.
j
a
v
a
:
1642
)
[
j
e
t
t
y
−
s
e
r
v
l
e
t
−
9.4.12.
v
20180830.
j
a
r
:
9.4.12.
v
20180830
]
a
t
o
r
g
.
s
p
r
i
n
g
f
r
a
m
e
w
o
r
k
.
s
e
c
u
r
i
t
y
.
w
e
b
.
F
i
l
t
e
r
C
h
a
i
n
P
r
o
x
y
.
d
o
F
i
l
t
e
r
I
n
t
e
r
n
a
l
(
F
i
l
t
e
r
C
h
a
i
n
P
r
o
x
y
.
j
a
v
a
:
208
)
[
s
p
r
i
n
g
−
s
e
c
u
r
i
t
y
−
w
e
b
−
4.2.9.
R
E
L
E
A
S
E
.
j
a
r
:
4.2.9.
R
E
L
E
A
S
E
]
a
t
o
r
g
.
s
p
r
i
n
g
f
r
a
m
e
w
o
r
k
.
s
e
c
u
r
i
t
y
.
w
e
b
.
F
i
l
t
e
r
C
h
a
i
n
P
r
o
x
y
.
d
o
F
i
l
t
e
r
(
F
i
l
t
e
r
C
h
a
i
n
P
r
o
x
y
.
j
a
v
a
:
177
)
[
s
p
r
i
n
g
−
s
e
c
u
r
i
t
y
−
w
e
b
−
4.2.9.
R
E
L
E
A
S
E
.
j
a
r
:
4.2.9.
R
E
L
E
A
S
E
]
a
t
o
r
g
.
s
p
r
i
n
g
f
r
a
m
e
w
o
r
k
.
w
e
b
.
f
i
l
t
e
r
.
D
e
l
e
g
a
t
i
n
g
F
i
l
t
e
r
P
r
o
x
y
.
i
n
v
o
k
e
D
e
l
e
g
a
t
e
(
D
e
l
e
g
a
t
i
n
g
F
i
l
t
e
r
P
r
o
x
y
.
j
a
v
a
:
347
)
[
s
p
r
i
n
g
−
w
e
b
−
4.3.20.
R
E
L
E
A
S
E
.
j
a
r
:
4.3.20.
R
E
L
E
A
S
E
]
a
t
o
r
g
.
s
p
r
i
n
g
f
r
a
m
e
w
o
r
k
.
w
e
b
.
f
i
l
t
e
r
.
D
e
l
e
g
a
t
i
n
g
F
i
l
t
e
r
P
r
o
x
y
.
d
o
F
i
l
t
e
r
(
D
e
l
e
g
a
t
i
n
g
F
i
l
t
e
r
P
r
o
x
y
.
j
a
v
a
:
263
)
[
s
p
r
i
n
g
−
w
e
b
−
4.3.20.
R
E
L
E
A
S
E
.
j
a
r
:
4.3.20.
R
E
L
E
A
S
E
]
a
t
o
r
g
.
e
c
l
i
p
s
e
.
j
e
t
t
y
.
s
e
r
v
l
e
t
.
S
e
r
v
l
e
t
H
a
n
d
l
e
r
CachedChain.doFilter(ServletHandler.java:1642) [jetty-servlet-9.4.12.v20180830.jar:9.4.12.v20180830] at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:208) [spring-security-web-4.2.9.RELEASE.jar:4.2.9.RELEASE] at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177) [spring-security-web-4.2.9.RELEASE.jar:4.2.9.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:347) [spring-web-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:263) [spring-web-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.eclipse.jetty.servlet.ServletHandler
CachedChain.doFilter(ServletHandler.java:1642)[jetty−servlet−9.4.12.v20180830.jar:9.4.12.v20180830]atorg.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:208)[spring−security−web−4.2.9.RELEASE.jar:4.2.9.RELEASE]atorg.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)[spring−security−web−4.2.9.RELEASE.jar:4.2.9.RELEASE]atorg.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:347)[spring−web−4.3.20.RELEASE.jar:4.3.20.RELEASE]atorg.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:263)[spring−web−4.3.20.RELEASE.jar:4.3.20.RELEASE]atorg.eclipse.jetty.servlet.ServletHandlerCachedChain.doFilter(ServletHandler.java:1642) [jetty-servlet-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) [spring-web-4.3.20.RELEASE.jar:4.3.20.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.20.RELEASE.jar:4.3.20.RELEASE]
at org.eclipse.jetty.servlet.ServletHandler
C
a
c
h
e
d
C
h
a
i
n
.
d
o
F
i
l
t
e
r
(
S
e
r
v
l
e
t
H
a
n
d
l
e
r
.
j
a
v
a
:
1642
)
[
j
e
t
t
y
−
s
e
r
v
l
e
t
−
9.4.12.
v
20180830.
j
a
r
:
9.4.12.
v
20180830
]
a
t
o
r
g
.
s
p
r
i
n
g
f
r
a
m
e
w
o
r
k
.
w
e
b
.
f
i
l
t
e
r
.
H
t
t
p
P
u
t
F
o
r
m
C
o
n
t
e
n
t
F
i
l
t
e
r
.
d
o
F
i
l
t
e
r
I
n
t
e
r
n
a
l
(
H
t
t
p
P
u
t
F
o
r
m
C
o
n
t
e
n
t
F
i
l
t
e
r
.
j
a
v
a
:
109
)
[
s
p
r
i
n
g
−
w
e
b
−
4.3.20.
R
E
L
E
A
S
E
.
j
a
r
:
4.3.20.
R
E
L
E
A
S
E
]
a
t
o
r
g
.
s
p
r
i
n
g
f
r
a
m
e
w
o
r
k
.
w
e
b
.
f
i
l
t
e
r
.
O
n
c
e
P
e
r
R
e
q
u
e
s
t
F
i
l
t
e
r
.
d
o
F
i
l
t
e
r
(
O
n
c
e
P
e
r
R
e
q
u
e
s
t
F
i
l
t
e
r
.
j
a
v
a
:
107
)
[
s
p
r
i
n
g
−
w
e
b
−
4.3.20.
R
E
L
E
A
S
E
.
j
a
r
:
4.3.20.
R
E
L
E
A
S
E
]
a
t
o
r
g
.
e
c
l
i
p
s
e
.
j
e
t
t
y
.
s
e
r
v
l
e
t
.
S
e
r
v
l
e
t
H
a
n
d
l
e
r
CachedChain.doFilter(ServletHandler.java:1642) [jetty-servlet-9.4.12.v20180830.jar:9.4.12.v20180830] at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109) [spring-web-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.eclipse.jetty.servlet.ServletHandler
CachedChain.doFilter(ServletHandler.java:1642)[jetty−servlet−9.4.12.v20180830.jar:9.4.12.v20180830]atorg.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109)[spring−web−4.3.20.RELEASE.jar:4.3.20.RELEASE]atorg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring−web−4.3.20.RELEASE.jar:4.3.20.RELEASE]atorg.eclipse.jetty.servlet.ServletHandlerCachedChain.doFilter(ServletHandler.java:1642) [jetty-servlet-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) [spring-web-4.3.20.RELEASE.jar:4.3.20.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.20.RELEASE.jar:4.3.20.RELEASE]
at org.eclipse.jetty.servlet.ServletHandler
C
a
c
h
e
d
C
h
a
i
n
.
d
o
F
i
l
t
e
r
(
S
e
r
v
l
e
t
H
a
n
d
l
e
r
.
j
a
v
a
:
1642
)
[
j
e
t
t
y
−
s
e
r
v
l
e
t
−
9.4.12.
v
20180830.
j
a
r
:
9.4.12.
v
20180830
]
a
t
o
r
g
.
s
p
r
i
n
g
f
r
a
m
e
w
o
r
k
.
w
e
b
.
f
i
l
t
e
r
.
C
h
a
r
a
c
t
e
r
E
n
c
o
d
i
n
g
F
i
l
t
e
r
.
d
o
F
i
l
t
e
r
I
n
t
e
r
n
a
l
(
C
h
a
r
a
c
t
e
r
E
n
c
o
d
i
n
g
F
i
l
t
e
r
.
j
a
v
a
:
197
)
[
s
p
r
i
n
g
−
w
e
b
−
4.3.20.
R
E
L
E
A
S
E
.
j
a
r
:
4.3.20.
R
E
L
E
A
S
E
]
a
t
o
r
g
.
s
p
r
i
n
g
f
r
a
m
e
w
o
r
k
.
w
e
b
.
f
i
l
t
e
r
.
O
n
c
e
P
e
r
R
e
q
u
e
s
t
F
i
l
t
e
r
.
d
o
F
i
l
t
e
r
(
O
n
c
e
P
e
r
R
e
q
u
e
s
t
F
i
l
t
e
r
.
j
a
v
a
:
107
)
[
s
p
r
i
n
g
−
w
e
b
−
4.3.20.
R
E
L
E
A
S
E
.
j
a
r
:
4.3.20.
R
E
L
E
A
S
E
]
a
t
o
r
g
.
e
c
l
i
p
s
e
.
j
e
t
t
y
.
s
e
r
v
l
e
t
.
S
e
r
v
l
e
t
H
a
n
d
l
e
r
CachedChain.doFilter(ServletHandler.java:1642) [jetty-servlet-9.4.12.v20180830.jar:9.4.12.v20180830] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197) [spring-web-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.eclipse.jetty.servlet.ServletHandler
CachedChain.doFilter(ServletHandler.java:1642)[jetty−servlet−9.4.12.v20180830.jar:9.4.12.v20180830]atorg.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)[spring−web−4.3.20.RELEASE.jar:4.3.20.RELEASE]atorg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring−web−4.3.20.RELEASE.jar:4.3.20.RELEASE]atorg.eclipse.jetty.servlet.ServletHandlerCachedChain.doFilter(ServletHandler.java:1642) [jetty-servlet-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533) [jetty-servlet-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) [jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [jetty-security-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) [jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) [jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) [jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1340) [jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) [jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) [jetty-servlet-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) [jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) [jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1242) [jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) [jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:690) [jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.Server.handle(Server.java:503) [jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) [jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) [jetty-server-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) [jetty-io-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) [jetty-io-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) [jetty-io-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) [jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830]
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) [jetty-util-9.4.12.v20180830.jar:9.4.12.v20180830]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
Caused by: javax.persistence.RollbackException: Transaction marked as rollbackOnly
at org.hibernate.jpa.internal.TransactionImpl.commit(TransactionImpl.java:58) ~[hibernate-entitymanager-5.0.12.Final.jar:5.0.12.Final]
at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:517) ~[spring-orm-4.3.20.RELEASE.jar:4.3.20.RELEASE]
… 72 more
解决方案:
所有相关的serviceImpl层加上事务注解:@Transactional