Caused by: org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:264) ~[hibernate-core-5.0.12.Final.jar:5.0.12.Final]
at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:228) ~[hibernate-core-5.0.12.Final.jar:5.0.12.Final]
at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:207) ~[hibernate-core-5.0.12.Final.jar:5.0.12.Final]
at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:51) ~[hibernate-core-5.0.12.Final.jar:5.0.12.Final]
at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:94) ~[hibernate-core-5.0.12.Final.jar:5.0.12.Final]
at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:237) ~[hibernate-core-5.0.12.Final.jar:5.0.12.Final]
at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:207) ~[hibernate-core-5.0.12.Final.jar:5.0.12.Final]
at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.handleTypes(MetadataBuildingProcess.java:352) ~[hibernate-core-5.0.12.Final.jar:5.0.12.Final]
at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:111) ~[hibernate-core-5.0.12.Final.jar:5.0.12.Final]
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:847) ~[hibernate-entitymanager-5.0.12.Final.jar:5.0.12.Final]
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:874) ~[hibernate-entitymanager-5.0.12.Final.jar:5.0.12.Final]
at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:60) ~[spring-orm-4.3.12.RELEASE.jar:4.3.12.RELEASE]
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:353) ~[spring-orm-4.3.12.RELEASE.jar:4.3.12.RELEASE]
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:370) ~[spring-orm-4.3.12.RELEASE.jar:4.3.12.RELEASE]
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:359) ~[spring-orm-4.3.12.RELEASE.jar:4.3.12.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1687) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1624) ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
... 29 common frames omitted
Caused by: org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.determineDialect(DialectFactoryImpl.java:100) ~[hibernate-core-5.0.12.Final.jar:5.0.12.Final]
at org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl.buildDialect(DialectFactoryImpl.java:54) ~[hibernate-core-5.0.12.Final.jar:5.0.12.Final]
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:137) ~[hibernate-core-5.0.12.Final.jar:5.0.12.Final]
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:35) ~[hibernate-core-5.0.12.Final.jar:5.0.12.Final]
at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:88) ~[hibernate-core-5.0.12.Final.jar:5.0.12.Final]
at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:254) ~[hibernate-core-5.0.12.Final.jar:5.0.12.Final]
... 45 common frames omitted
2017-12-26 15:08:21,906 DEBUG batch acquisition of 0 triggers - org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:276)
2017-12-26 15:08:51,861 DEBUG batch acquisition of 0 triggers - org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:276)
2017-12-26 15:09:03,465 DEBUG Found mapping for [GET] path=/toLogin : MainModule.toLogin(MainModule.java:84) - org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101)
2017-12-26 15:09:03,478 DEBUG Get TypeParams for self : com.real.supporter.models.bean.User - org.nutz.service.EntityService.<init>(EntityService.java:41)
2017-12-26 15:09:03,516 DEBUG Could not find template in cache, creating new one; id=[elPath[zh_CN,UTF-8,parsed] ] - freemarker.log.Log4JLoggerFactory$Log4JLogger.debug(Log4JLoggerFactory.java:81)
2017-12-26 15:09:03,516 DEBUG Compiling FreeMarker template elPath[zh_CN,UTF-8,parsed] from freemarker.cache.StringTemplateLoader$StringTemplateSource@b271396c - freemarker.log.Log4JLoggerFactory$Log4JLogger.debug(Log4JLoggerFactory.java:81)
emf render:/WEB-INF/views/login.html2017-12-26 15:09:03,561 DEBUG Could not find template in cache, creating new one; id=[WEB-INF/views/login.html[zh_CN,UTF-8,parsed] ] - freemarker.log.Log4JLoggerFactory$Log4JLogger.debug(Log4JLoggerFactory.java:81)
2017-12-26 15:09:03,561 DEBUG Compiling FreeMarker template WEB-INF/views/login.html[zh_CN,UTF-8,parsed] from G:\apache-tomcat-7.0.82\webapps\readitec_supporter\WEB-INF\views\login.html - freemarker.log.Log4JLoggerFactory$Log4JLogger.debug(Log4JLoggerFactory.java:81)
2017-12-26 15:09:04,690 DEBUG Found mapping for [POST] path=/doLogin : MainModule.doLogin(MainModule.java:93) - org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101)
2017-12-26 15:09:04,771 DEBUG Looked up AuthenticationInfo [real] from doGetAuthenticationInfo - org.apache.shiro.realm.AuthenticatingRealm.getAuthenticationInfo(AuthenticatingRealm.java:569)
2017-12-26 15:09:04,772 DEBUG AuthenticationInfo caching is disabled for info [real]. Submitted token: [org.apache.shiro.authc.UsernamePasswordToken - real, rememberMe=false]. - org.apache.shiro.realm.AuthenticatingRealm.cacheAuthenticationInfoIfPossible(AuthenticatingRealm.java:507)
2017-12-26 15:09:04,773 DEBUG Performing credentials equality check for tokenCredentials of type [[C and accountCredentials of type [java.lang.String] - org.apache.shiro.authc.credential.SimpleCredentialsMatcher.equals(SimpleCredentialsMatcher.java:95)
2017-12-26 15:09:04,773 DEBUG Both credentials arguments can be easily converted to byte arrays. Performing array equals comparison - org.apache.shiro.authc.credential.SimpleCredentialsMatcher.equals(SimpleCredentialsMatcher.java:101)
2017-12-26 15:09:04,773 DEBUG Authentication successful for token [org.apache.shiro.authc.UsernamePasswordToken - real, rememberMe=false]. Returned account [real] - org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:233)
2017-12-26 15:09:04,773 DEBUG No SecurityManager available in subject context map. Falling back to SecurityUtils.getSecurityManager() lookup. - org.apache.shiro.subject.support.DefaultSubjectContext.resolveSecurityManager(DefaultSubjectContext.java:102)
2017-12-26 15:09:04,773 DEBUG Context already contains a session. Returning. - org.apache.shiro.mgt.DefaultSecurityManager.resolveSession(DefaultSecurityManager.java:436)
2017-12-26 15:09:04,774 DEBUG No SecurityManager available in subject context map. Falling back to SecurityUtils.getSecurityManager() lookup. - org.apache.shiro.subject.support.DefaultSubjectContext.resolveSecurityManager(DefaultSubjectContext.java:102)
2017-12-26 15:09:04,774 DEBUG Added HttpServletResponse Cookie [rememberMe=deleteMe; Path=/readitec_supporter; Max-Age=0; Expires=Mon, 25-Dec-2017 07:09:04 GMT] - org.apache.shiro.web.servlet.SimpleCookie.addCookieHeader(SimpleCookie.java:226)
2017-12-26 15:09:04,775 DEBUG AuthenticationToken did not indicate RememberMe is requested. RememberMe functionality will not be executed for corresponding account. - org.apache.shiro.mgt.AbstractRememberMeManager.onSuccessfulLogin(AbstractRememberMeManager.java:290)
2017-12-26 15:09:04,782 DEBUG No authorizationCache instance set. Checking for a cacheManager... - org.apache.shiro.realm.AuthorizingRealm.getAuthorizationCacheLazy(AuthorizingRealm.java:234)
2017-12-26 15:09:04,783 INFO No cache or cacheManager properties have been set. Authorization cache cannot be obtained. - org.apache.shiro.realm.AuthorizingRealm.getAuthorizationCacheLazy(AuthorizingRealm.java:248)
2017-12-26 15:09:04,783 INFO userId:real - com.real.supporter.shiro.NutDaoRealm.doGetAuthorizationInfo(NutDaoRealm.java:50)
2017-12-26 15:09:04,792 DEBUG Found mapping for [GET] path=/real/list : RealCenterModule.list(RealCenterModule.java:69) - org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101)
2017-12-26 15:09:04,799 DEBUG Get TypeParams for self : com.real.supporter.models.bean.TOrder - org.nutz.service.EntityService.<init>(EntityService.java:41)
2017-12-26 15:09:04,802 DEBUG Get TypeParams for self : com.real.supporter.models.bean.OrderApprove - org.nutz.service.EntityService.<init>(EntityService.java:41)
2017-12-26 15:09:04,808 DEBUG Get TypeParams for self : com.real.supporter.models.bean.ModelMakeOrder - org.nutz.service.EntityService.<init>(EntityService.java:41)
2017-12-26 15:09:04,812 DEBUG Get TypeParams for self : com.real.supporter.models.bean.ModelMakeOrder - org.nutz.service.EntityService.<init>(EntityService.java:41)
2017-12-26 15:09:04,950 DEBUG Could not find template in cache, creating new one; id=[elPath[zh_CN,UTF-8,parsed] ] - freemarker.log.Log4JLoggerFactory$Log4JLogger.debug(Log4JLoggerFactory.java:81)
2017-12-26 15:09:04,950 DEBUG Compiling FreeMarker template elPath[zh_CN,UTF-8,parsed] from freemarker.cache.StringTemplateLoader$StringTemplateSource@b271396c - freemarker.log.Log4JLoggerFactory$Log4JLogger.debug(Log4JLoggerFactory.java:81)
emf render:/WEB-INF/views/realcenter/real_orderlist.html2017-12-26 15:09:04,950 DEBUG Could not find template in cache, creating new one; id=[WEB-INF/views/realcenter/real_orderlist.html[zh_CN,UTF-8,parsed] ] - freemarker.log.Log4JLoggerFactory$Log4JLogger.debug(Log4JLoggerFactory.java:81)
2017-12-26 15:09:04,951 DEBUG Compiling FreeMarker template WEB-INF/views/realcenter/real_orderlist.html[zh_CN,UTF-8,parsed] from G:\apache-tomcat-7.0.82\webapps\readitec_supporter\WEB-INF\views\realcenter\real_orderlist.html - freemarker.log.Log4JLoggerFactory$Log4JLogger.debug(Log4JLoggerFactory.java:81)
2017-12-26 15:09:04,998 DEBUG Could not find template in cache, creating new one; id=[navigation/real_header.html[zh_CN,UTF-8,parsed] ] - freemarker.log.Log4JLoggerFactory$Log4JLogger.debug(Log4JLoggerFactory.java:81)
2017-12-26 15:09:04,999 DEBUG Compiling FreeMarker template navigation/real_header.html[zh_CN,UTF-8,parsed] from G:\apache-tomcat-7.0.82\webapps\readitec_supporter\navigation\real_header.html - freemarker.log.Log4JLoggerFactory$Log4JLogger.debug(Log4JLoggerFactory.java:81)
2017-12-26 15:09:05,003 DEBUG Could not find template in cache, creating new one; id=[navigation/real_left.html[zh_CN,UTF-8,parsed] ] - freemarker.log.Log4JLoggerFactory$Log4JLogger.debug(Log4JLoggerFactory.java:81)
2017-12-26 15:09:05,003 DEBUG Compiling FreeMarker template navigation/real_left.html[zh_CN,UTF-8,parsed] from G:\apache-tomcat-7.0.82\webapps\readitec_supporter\navigation\real_left.html - freemarker.log.Log4JLoggerFactory$Log4JLogger.debug(Log4JLoggerFactory.java:81)
2017-12-26 15:09:05,036 DEBUG Could not find template in cache, creating new one; id=[navigation/real_footer.html[zh_CN,UTF-8,parsed] ] - freemarker.log.Log4JLoggerFactory$Log4JLogger.debug(Log4JLoggerFactory.java:81)
2017-12-26 15:09:05,045 DEBUG Compiling FreeMarker template navigation/real_footer.html[zh_CN,UTF-8,parsed] from G:\apache-tomcat-7.0.82\webapps\readitec_supporter\navigation\real_footer.html - freemarker.log.Log4JLoggerFactory$Log4JLogger.debug(Log4JLoggerFactory.java:81)
2017-12-26 15:09:06,624 DEBUG Found mapping for [GET] path=/rebuild/view_report/54b73c74ddc24f4888b4c1f71086db56 : RebuildModule.viewReport(RebuildModule.java:436) - org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101)
2017-12-26 15:09:06,637 DEBUG Get TypeParams for self : com.real.supporter.models.bean.ModelReport - org.nutz.service.EntityService.<init>(EntityService.java:41)
2017-12-26 15:09:06,639 DEBUG Could not find template in cache, creating new one; id=[elPath[zh_CN,UTF-8,parsed] ] - freemarker.log.Log4JLoggerFactory$Log4JLogger.debug(Log4JLoggerFactory.java:81)
2017-12-26 15:09:06,640 DEBUG Compiling FreeMarker template elPath[zh_CN,UTF-8,parsed] from freemarker.cache.StringTemplateLoader$StringTemplateSource@b271396c - freemarker.log.Log4JLoggerFactory$Log4JLogger.debug(Log4JLoggerFactory.java:81)
emf render:/WEB-INF/views/bg_server/word.html2017-12-26 15:09:06,641 DEBUG Could not find template in cache, creating new one; id=[WEB-INF/views/bg_server/word.html[zh_CN,UTF-8,parsed] ] - freemarker.log.Log4JLoggerFactory$Log4JLogger.debug(Log4JLoggerFactory.java:81)
2017-12-26 15:09:06,641 DEBUG Compiling FreeMarker template WEB-INF/views/bg_server/word.html[zh_CN,UTF-8,parsed] from G:\apache-tomcat-7.0.82\webapps\readitec_supporter\WEB-INF\views\bg_server\word.html - freemarker.log.Log4JLoggerFactory$Log4JLogger.debug(Log4JLoggerFactory.java:81)
2017-12-26 15:09:06,645 ERROR - freemarker.log.Log4JLoggerFactory$Log4JLogger.error(Log4JLoggerFactory.java:96)
Expression obj.order is undefined on line 26, column 76 in WEB-INF/views/bg_server/word.html.
The problematic instruction:
----------
==> ${obj.order.patient_r_code!"无"} [on line 26, column 74 in WEB-INF/views/bg_server/word.html]
----------
Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Expression obj.order is undefined on line 26, column 76 in WEB-INF/views/bg_server/word.html.
at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
at freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134)
at freemarker.core.Dot._getAsTemplateModel(Dot.java:78)
at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
at freemarker.core.DefaultToExpression._getAsTemplateModel(DefaultToExpression.java:100)
at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
at freemarker.core.Expression.getStringValue(Expression.java:93)
at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
at freemarker.core.Environment.visit(Environment.java:209)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:209)
at freemarker.core.Environment.process(Environment.java:189)
at freemarker.template.Template.process(Template.java:237)
at com.real.supporter.commons.ELFreemarkerView.render(ELFreemarkerView.java:85)
at org.nutz.mvc.impl.processor.ViewProcessor.process(ViewProcessor.java:66)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.MethodInvokeProcessor.process(MethodInvokeProcessor.java:33)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.AdaptorProcessor.process(AdaptorProcessor.java:33)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.ActionFiltersProcessor.process(ActionFiltersProcessor.java:58)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.integration.shiro.NutShiroProcessor.process(NutShiroProcessor.java:126)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:123)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.EncodingProcessor.process(EncodingProcessor.java:27)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor.process(UpdateRequestAttributesProcessor.java:15)
at org.nutz.mvc.impl.NutActionChain.doChain(NutActionChain.java:44)
at org.nutz.mvc.impl.ActionInvoker.invoke(ActionInvoker.java:67)
at org.nutz.mvc.ActionHandler.handle(ActionHandler.java:31)
at org.nutz.mvc.NutFilter.doFilter(NutFilter.java:202)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Unknown Source)
2017-12-26 15:09:06,647 WARN Error@/rebuild/view_report/54b73c74ddc24f4888b4c1f71086db56 : - org.nutz.mvc.impl.processor.FailProcessor.process(FailProcessor.java:28)