这里写自定义目录标题
欢迎使用Markdown编辑器
今天用懒加载报的错,跪求路过的大佬指点
[srms-ums:192.168.0.:*] 2020-12-10 15:49:50.317 ERROR 33624 [LbTVMivO] [XNIO-1 task-1] c.k.s.c.w.handler.BaseExceptionHandler : 程序异常==>errorCode:500 INTERNAL_SERVER_ERROR, exception:org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: failed to lazily initialize a collection of role: com.klm.srms.ums.api.entity.Latitude.supplierPlates, could not initialize proxy - no Session; nested exception is com.fasterxml.jackson.databind.JsonMappingException: failed to lazily initialize a collection of role: com.klm.srms.ums.api.entity.Latitude.supplierPlates, could not initialize proxy - no Session (through reference chain: com.klm.serein.core.common.api.ApiResult[“data”]->org.springframework.data.domain.PageImpl[“content”]->java.util.Collections
U
n
m
o
d
i
f
i
a
b
l
e
R
a
n
d
o
m
A
c
c
e
s
s
L
i
s
t
[
0
]
−
>
c
o
m
.
k
l
m
.
s
r
m
s
.
u
m
s
.
a
p
i
.
d
t
o
.
L
a
t
i
t
u
d
e
D
t
o
[
"
s
u
p
p
l
i
e
r
P
l
a
t
e
s
"
]
)
o
r
g
.
s
p
r
i
n
g
f
r
a
m
e
w
o
r
k
.
h
t
t
p
.
c
o
n
v
e
r
t
e
r
.
H
t
t
p
M
e
s
s
a
g
e
N
o
t
W
r
i
t
a
b
l
e
E
x
c
e
p
t
i
o
n
:
C
o
u
l
d
n
o
t
w
r
i
t
e
J
S
O
N
:
f
a
i
l
e
d
t
o
l
a
z
i
l
y
i
n
i
t
i
a
l
i
z
e
a
c
o
l
l
e
c
t
i
o
n
o
f
r
o
l
e
:
c
o
m
.
k
l
m
.
s
r
m
s
.
u
m
s
.
a
p
i
.
e
n
t
i
t
y
.
L
a
t
i
t
u
d
e
.
s
u
p
p
l
i
e
r
P
l
a
t
e
s
,
c
o
u
l
d
n
o
t
i
n
i
t
i
a
l
i
z
e
p
r
o
x
y
−
n
o
S
e
s
s
i
o
n
;
n
e
s
t
e
d
e
x
c
e
p
t
i
o
n
i
s
c
o
m
.
f
a
s
t
e
r
x
m
l
.
j
a
c
k
s
o
n
.
d
a
t
a
b
i
n
d
.
J
s
o
n
M
a
p
p
i
n
g
E
x
c
e
p
t
i
o
n
:
f
a
i
l
e
d
t
o
l
a
z
i
l
y
i
n
i
t
i
a
l
i
z
e
a
c
o
l
l
e
c
t
i
o
n
o
f
r
o
l
e
:
c
o
m
.
k
l
m
.
s
r
m
s
.
u
m
s
.
a
p
i
.
e
n
t
i
t
y
.
L
a
t
i
t
u
d
e
.
s
u
p
p
l
i
e
r
P
l
a
t
e
s
,
c
o
u
l
d
n
o
t
i
n
i
t
i
a
l
i
z
e
p
r
o
x
y
−
n
o
S
e
s
s
i
o
n
(
t
h
r
o
u
g
h
r
e
f
e
r
e
n
c
e
c
h
a
i
n
:
c
o
m
.
k
l
m
.
s
e
r
e
i
n
.
c
o
r
e
.
c
o
m
m
o
n
.
a
p
i
.
A
p
i
R
e
s
u
l
t
[
"
d
a
t
a
"
]
−
>
o
r
g
.
s
p
r
i
n
g
f
r
a
m
e
w
o
r
k
.
d
a
t
a
.
d
o
m
a
i
n
.
P
a
g
e
I
m
p
l
[
"
c
o
n
t
e
n
t
"
]
−
>
j
a
v
a
.
u
t
i
l
.
C
o
l
l
e
c
t
i
o
n
s
UnmodifiableRandomAccessList[0]->com.klm.srms.ums.api.dto.LatitudeDto["supplierPlates"]) org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: failed to lazily initialize a collection of role: com.klm.srms.ums.api.entity.Latitude.supplierPlates, could not initialize proxy - no Session; nested exception is com.fasterxml.jackson.databind.JsonMappingException: failed to lazily initialize a collection of role: com.klm.srms.ums.api.entity.Latitude.supplierPlates, could not initialize proxy - no Session (through reference chain: com.klm.serein.core.common.api.ApiResult["data"]->org.springframework.data.domain.PageImpl["content"]->java.util.Collections
UnmodifiableRandomAccessList[0]−>com.klm.srms.ums.api.dto.LatitudeDto["supplierPlates"])org.springframework.http.converter.HttpMessageNotWritableException:CouldnotwriteJSON:failedtolazilyinitializeacollectionofrole:com.klm.srms.ums.api.entity.Latitude.supplierPlates,couldnotinitializeproxy−noSession;nestedexceptioniscom.fasterxml.jackson.databind.JsonMappingException:failedtolazilyinitializeacollectionofrole:com.klm.srms.ums.api.entity.Latitude.supplierPlates,couldnotinitializeproxy−noSession(throughreferencechain:com.klm.serein.core.common.api.ApiResult["data"]−>org.springframework.data.domain.PageImpl["content"]−>java.util.CollectionsUnmodifiableRandomAccessList[0]->com.klm.srms.ums.api.dto.LatitudeDto[“supplierPlates”])
at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.writeInternal(AbstractJackson2HttpMessageConverter.java:344)
at org.springframework.http.converter.AbstractGenericHttpMessageConverter.write(AbstractGenericHttpMessageConverter.java:104)
at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:287)
at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.handleReturnValue(RequestResponseBodyMethodProcessor.java:181)
at org.springframework.web.method.support.HandlerMethodReturnValueHandlerComposite.handleReturnValue(HandlerMethodReturnValueHandlerComposite.java:82)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:123)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:497)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
at io.undertow.servlet.handlers.FilterHandler
F
i
l
t
e
r
C
h
a
i
n
I
m
p
l
.
d
o
F
i
l
t
e
r
(
F
i
l
t
e
r
H
a
n
d
l
e
r
.
j
a
v
a
:
129
)
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
:
103
)
a
t
i
o
.
u
n
d
e
r
t
o
w
.
s
e
r
v
l
e
t
.
c
o
r
e
.
M
a
n
a
g
e
d
F
i
l
t
e
r
.
d
o
F
i
l
t
e
r
(
M
a
n
a
g
e
d
F
i
l
t
e
r
.
j
a
v
a
:
61
)
a
t
i
o
.
u
n
d
e
r
t
o
w
.
s
e
r
v
l
e
t
.
h
a
n
d
l
e
r
s
.
F
i
l
t
e
r
H
a
n
d
l
e
r
FilterChainImpl.doFilter(FilterHandler.java:129) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103) at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) at io.undertow.servlet.handlers.FilterHandler
FilterChainImpl.doFilter(FilterHandler.java:129)atorg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103)atio.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)atio.undertow.servlet.handlers.FilterHandlerFilterChainImpl.doFilter(FilterHandler.java:131)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at io.undertow.servlet.handlers.FilterHandler
F
i
l
t
e
r
C
h
a
i
n
I
m
p
l
.
d
o
F
i
l
t
e
r
(
F
i
l
t
e
r
H
a
n
d
l
e
r
.
j
a
v
a
:
131
)
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
.
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
(
F
o
r
m
C
o
n
t
e
n
t
F
i
l
t
e
r
.
j
a
v
a
:
93
)
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
:
119
)
a
t
i
o
.
u
n
d
e
r
t
o
w
.
s
e
r
v
l
e
t
.
c
o
r
e
.
M
a
n
a
g
e
d
F
i
l
t
e
r
.
d
o
F
i
l
t
e
r
(
M
a
n
a
g
e
d
F
i
l
t
e
r
.
j
a
v
a
:
61
)
a
t
i
o
.
u
n
d
e
r
t
o
w
.
s
e
r
v
l
e
t
.
h
a
n
d
l
e
r
s
.
F
i
l
t
e
r
H
a
n
d
l
e
r
FilterChainImpl.doFilter(FilterHandler.java:131) at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) at io.undertow.servlet.handlers.FilterHandler
FilterChainImpl.doFilter(FilterHandler.java:131)atorg.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)atorg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)atio.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)atio.undertow.servlet.handlers.FilterHandlerFilterChainImpl.doFilter(FilterHandler.java:131)
at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at io.undertow.servlet.handlers.FilterHandler
F
i
l
t
e
r
C
h
a
i
n
I
m
p
l
.
d
o
F
i
l
t
e
r
(
F
i
l
t
e
r
H
a
n
d
l
e
r
.
j
a
v
a
:
131
)
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
:
201
)
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
:
119
)
a
t
i
o
.
u
n
d
e
r
t
o
w
.
s
e
r
v
l
e
t
.
c
o
r
e
.
M
a
n
a
g
e
d
F
i
l
t
e
r
.
d
o
F
i
l
t
e
r
(
M
a
n
a
g
e
d
F
i
l
t
e
r
.
j
a
v
a
:
61
)
a
t
i
o
.
u
n
d
e
r
t
o
w
.
s
e
r
v
l
e
t
.
h
a
n
d
l
e
r
s
.
F
i
l
t
e
r
H
a
n
d
l
e
r
FilterChainImpl.doFilter(FilterHandler.java:131) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) at io.undertow.servlet.handlers.FilterHandler
FilterChainImpl.doFilter(FilterHandler.java:131)atorg.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)atorg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)atio.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)atio.undertow.servlet.handlers.FilterHandlerFilterChainImpl.doFilter(FilterHandler.java:131)
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132)
at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:269)
at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:78)
at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:133)
at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:130)
at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:249)
at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:78)
at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:99)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:370)
at io.undertow.server.HttpServerExchange
1.
r
u
n
(
H
t
t
p
S
e
r
v
e
r
E
x
c
h
a
n
g
e
.
j
a
v
a
:
830
)
a
t
o
r
g
.
j
b
o
s
s
.
t
h
r
e
a
d
s
.
C
o
n
t
e
x
t
C
l
a
s
s
L
o
a
d
e
r
S
a
v
i
n
g
R
u
n
n
a
b
l
e
.
r
u
n
(
C
o
n
t
e
x
t
C
l
a
s
s
L
o
a
d
e
r
S
a
v
i
n
g
R
u
n
n
a
b
l
e
.
j
a
v
a
:
35
)
a
t
o
r
g
.
j
b
o
s
s
.
t
h
r
e
a
d
s
.
E
n
h
a
n
c
e
d
Q
u
e
u
e
E
x
e
c
u
t
o
r
.
s
a
f
e
R
u
n
(
E
n
h
a
n
c
e
d
Q
u
e
u
e
E
x
e
c
u
t
o
r
.
j
a
v
a
:
2019
)
a
t
o
r
g
.
j
b
o
s
s
.
t
h
r
e
a
d
s
.
E
n
h
a
n
c
e
d
Q
u
e
u
e
E
x
e
c
u
t
o
r
1.run(HttpServerExchange.java:830) at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2019) at org.jboss.threads.EnhancedQueueExecutor
1.run(HttpServerExchange.java:830)atorg.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)atorg.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2019)atorg.jboss.threads.EnhancedQueueExecutorThreadBody.doRunTask(EnhancedQueueExecutor.java:1558)
at org.jboss.threads.EnhancedQueueExecutor
T
h
r
e
a
d
B
o
d
y
.
r
u
n
(
E
n
h
a
n
c
e
d
Q
u
e
u
e
E
x
e
c
u
t
o
r
.
j
a
v
a
:
1449
)
a
t
j
a
v
a
.
b
a
s
e
/
j
a
v
a
.
l
a
n
g
.
T
h
r
e
a
d
.
r
u
n
(
T
h
r
e
a
d
.
j
a
v
a
:
834
)
C
a
u
s
e
d
b
y
:
c
o
m
.
f
a
s
t
e
r
x
m
l
.
j
a
c
k
s
o
n
.
d
a
t
a
b
i
n
d
.
J
s
o
n
M
a
p
p
i
n
g
E
x
c
e
p
t
i
o
n
:
f
a
i
l
e
d
t
o
l
a
z
i
l
y
i
n
i
t
i
a
l
i
z
e
a
c
o
l
l
e
c
t
i
o
n
o
f
r
o
l
e
:
c
o
m
.
k
l
m
.
s
r
m
s
.
u
m
s
.
a
p
i
.
e
n
t
i
t
y
.
L
a
t
i
t
u
d
e
.
s
u
p
p
l
i
e
r
P
l
a
t
e
s
,
c
o
u
l
d
n
o
t
i
n
i
t
i
a
l
i
z
e
p
r
o
x
y
−
n
o
S
e
s
s
i
o
n
(
t
h
r
o
u
g
h
r
e
f
e
r
e
n
c
e
c
h
a
i
n
:
c
o
m
.
k
l
m
.
s
e
r
e
i
n
.
c
o
r
e
.
c
o
m
m
o
n
.
a
p
i
.
A
p
i
R
e
s
u
l
t
[
"
d
a
t
a
"
]
−
>
o
r
g
.
s
p
r
i
n
g
f
r
a
m
e
w
o
r
k
.
d
a
t
a
.
d
o
m
a
i
n
.
P
a
g
e
I
m
p
l
[
"
c
o
n
t
e
n
t
"
]
−
>
j
a
v
a
.
u
t
i
l
.
C
o
l
l
e
c
t
i
o
n
s
ThreadBody.run(EnhancedQueueExecutor.java:1449) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: com.fasterxml.jackson.databind.JsonMappingException: failed to lazily initialize a collection of role: com.klm.srms.ums.api.entity.Latitude.supplierPlates, could not initialize proxy - no Session (through reference chain: com.klm.serein.core.common.api.ApiResult["data"]->org.springframework.data.domain.PageImpl["content"]->java.util.Collections
ThreadBody.run(EnhancedQueueExecutor.java:1449)atjava.base/java.lang.Thread.run(Thread.java:834)Causedby:com.fasterxml.jackson.databind.JsonMappingException:failedtolazilyinitializeacollectionofrole:com.klm.srms.ums.api.entity.Latitude.supplierPlates,couldnotinitializeproxy−noSession(throughreferencechain:com.klm.serein.core.common.api.ApiResult["data"]−>org.springframework.data.domain.PageImpl["content"]−>java.util.CollectionsUnmodifiableRandomAccessList[0]->com.klm.srms.ums.api.dto.LatitudeDto[“supplierPlates”])
at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:397)
at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:356)
at com.fasterxml.jackson.databind.ser.std.StdSerializer.wrapAndThrow(StdSerializer.java:316)
at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:763)
at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:178)
at com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serializeContents(IndexedListSerializer.java:119)
at com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serialize(IndexedListSerializer.java:79)
at com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serialize(IndexedListSerializer.java:18)
at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:728)
at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:755)
at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:178)
at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:728)
at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:755)
at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:178)
at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider._serialize(DefaultSerializerProvider.java:480)
at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:319)
at com.fasterxml.jackson.databind.ObjectWriter$Prefetch.serialize(ObjectWriter.java:1516)
at com.fasterxml.jackson.databind.ObjectWriter.writeValue(ObjectWriter.java:1006)
at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.writeInternal(AbstractJackson2HttpMessageConverter.java:335)
… 67 more
Caused by: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.klm.srms.ums.api.entity.Latitude.supplierPlates, could not initialize proxy - no Session
at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:606)
at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:218)
at org.hibernate.collection.internal.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:162)
at org.hibernate.collection.internal.PersistentBag.size(PersistentBag.java:371)
at com.fasterxml.jackson.databind.ser.std.CollectionSerializer.serialize(CollectionSerializer.java:97)
at com.fasterxml.jackson.databind.ser.std.CollectionSerializer.serialize(CollectionSerializer.java:25)
at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:728)
at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:755)
… 82 more
新的改变
功能快捷键
合理的创建标题,有助于目录的生成
如何改变文本的样式
强调文本 强调文本
加粗文本 加粗文本
标记文本
删除文本
引用文本
H2O is是液体。
210 运算结果是 1024.
插入链接与图片
链接: link.
图片:
带尺寸的图片:
居中的图片:
居中并且带尺寸的图片:
当然,我们为了让用户更加便捷,我们增加了图片拖拽功能。
如何插入一段漂亮的代码片
去博客设置页面,选择一款你喜欢的代码片高亮样式,下面展示同样高亮的 代码片
.
// An highlighted block
var foo = 'bar';
生成一个适合你的列表
- 项目
- 项目
- 项目
- 项目
- 项目1
- 项目2
- 项目3
- 计划任务
- 完成任务
创建一个表格
一个简单的表格是这么创建的:
项目 | Value |
---|---|
电脑 | $1600 |
手机 | $12 |
导管 | $1 |
设定内容居中、居左、居右
使用:---------:
居中
使用:----------
居左
使用----------:
居右
第一列 | 第二列 | 第三列 |
---|---|---|
第一列文本居中 | 第二列文本居右 | 第三列文本居左 |
SmartyPants
SmartyPants将ASCII标点字符转换为“智能”印刷标点HTML实体。例如:
TYPE | ASCII | HTML |
---|---|---|
Single backticks | 'Isn't this fun?' | ‘Isn’t this fun?’ |
Quotes | "Isn't this fun?" | “Isn’t this fun?” |
Dashes | -- is en-dash, --- is em-dash | – is en-dash, — is em-dash |
创建一个自定义列表
-
Markdown
- Text-to- HTML conversion tool Authors
- John
- Luke
如何创建一个注脚
一个具有注脚的文本。1
注释也是必不可少的
Markdown将文本转换为 HTML。
KaTeX数学公式
您可以使用渲染LaTeX数学表达式 KaTeX:
Gamma公式展示 Γ ( n ) = ( n − 1 ) ! ∀ n ∈ N \Gamma(n) = (n-1)!\quad\forall n\in\mathbb N Γ(n)=(n−1)!∀n∈N 是通过欧拉积分
Γ ( z ) = ∫ 0 ∞ t z − 1 e − t d t . \Gamma(z) = \int_0^\infty t^{z-1}e^{-t}dt\,. Γ(z)=∫0∞tz−1e−tdt.
你可以找到更多关于的信息 LaTeX 数学表达式here.
新的甘特图功能,丰富你的文章
- 关于 甘特图 语法,参考 这儿,
UML 图表
可以使用UML图表进行渲染。 Mermaid. 例如下面产生的一个序列图:
这将产生一个流程图。:
- 关于 Mermaid 语法,参考 这儿,
FLowchart流程图
我们依旧会支持flowchart的流程图:
- 关于 Flowchart流程图 语法,参考 这儿.
导出与导入
导出
如果你想尝试使用此编辑器, 你可以在此篇文章任意编辑。当你完成了一篇文章的写作, 在上方工具栏找到 文章导出 ,生成一个.md文件或者.html文件进行本地保存。
导入
如果你想加载一篇你写过的.md文件,在上方工具栏可以选择导入功能进行对应扩展名的文件导入,
继续你的创作。
注脚的解释 ↩︎