关注JEECG发展历程 关注最新动态和版本, 记录JEECG成长点滴 更新日志 - 技术支持 - 招聘英才

JEECG最新版本下载 JEECG智能开发平台 - 显著提高开发效率 常见问题 - 入门视频 - 参与开源团队

商务QQ: 69893005、418799587 商务热线(5*8小时): 010-64808099 官方邮箱: jeecgos@163.com

楼主: admin

JeecgBoot 常见问题大全

  [复制链接]
发表于 2019-5-8 15:45:03 | 显示全部楼层
gang 发表于 2019-3-27 10:23
我也碰到这问题了,请问你解决了吗?

解决了,另外一个板块有个帖子写了解决办法,就是启动application加个扫描注解@componentscan
http://www.jeecg.org/forum.php?m ... &extra=page%3D1
发表于 2019-5-14 11:49:40 | 显示全部楼层
切换成sql server数据库,定时任务报错,无法启动 是不是暂时还不支持?
发表于 2019-5-16 16:59:56 | 显示全部楼层
为什么我的vue端口是 3000 ,后台端口是8080,我尝试访问接口的时候显示404,访问的路径端口是3000?
发表于 2019-5-21 11:16:45 | 显示全部楼层
95% emitting CopyPlugin
98% after emitting CopyPlugin
ERROR  Failed to compile with 1 errors11:06:48

  TypeError: compilation.templatesPlugin is not a function
  
  - SetVarMainTemplatePlugin.js:17 SetVarMainTemplatePlugin.apply
    [ant-design-jeecg-vue]/[webpack]/lib/SetVarMainTemplatePlugin.js:17:15
  
  - Tapable.js:79 Compilation.apply
    [ant-design-jeecg-vue]/[cli-service]/[tapable]/lib/Tapable.js:79:16
  
  - util.js:47 Compilation.deprecated [as apply]
    internal/util.js:47:15
  
  - LibraryTemplatePlugin.js:45 compiler.plugin
    [ant-design-jeecg-vue]/[webpack]/lib/LibraryTemplatePlugin.js:45:18
  
  
  - Hook.js:154 SyncHook.lazyCompileHook
    [ant-design-jeecg-vue]/[cli-service]/[tapable]/lib/Hook.js:154:20
  
  - Compiler.js:506 Compiler.newCompilation
    [ant-design-jeecg-vue]/[cli-service]/[webpack]/lib/Compiler.js:506:30
  
  - Compiler.js:543 hooks.beforeCompile.callAsync.err
    [ant-design-jeecg-vue]/[cli-service]/[webpack]/lib/Compiler.js:543:29
  
  
  - Hook.js:154 AsyncSeriesHook.lazyCompileHook
    [ant-design-jeecg-vue]/[cli-service]/[tapable]/lib/Hook.js:154:20
  
  - Compiler.js:538 Compiler.compile
    [ant-design-jeecg-vue]/[cli-service]/[webpack]/lib/Compiler.js:538:28
  
  - Compiler.js:285 Compiler.runAsChild
    [ant-design-jeecg-vue]/[cli-service]/[webpack]/lib/Compiler.js:285:8
  
  - compiler.js:75 Promise
    [ant-design-jeecg-vue]/[html-webpack-plugin]/lib/compiler.js:75:19
  
  - new Promise
  
  - compiler.js:74 Object.compileTemplate
    [ant-design-jeecg-vue]/[html-webpack-plugin]/lib/compiler.js:74:10
  
  - index.js:71
    [ant-design-jeecg-vue]/[html-webpack-plugin]/index.js:71:42
前端npm install后启动报错
发表于 2019-5-25 22:14:12 | 显示全部楼层
2.0国际化如何配置?
发表于 2019-5-25 22:36:09 | 显示全部楼层
2.0的动态数据源,能否根据数据动态判断调用不同的数据源呢?
发表于 2019-6-10 15:59:47 | 显示全部楼层
启动后访问文档  报错
2019-06-10 15:36:26.315 [http-nio-8080-exec-1] INFO  o.a.c.c.C.[Tomcat].[localhost].[/jeecg-boot]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet'
2019-06-10 15:36:26.316 [http-nio-8080-exec-1] INFO  org.springframework.web.servlet.DispatcherServlet:524 - Initializing Servlet 'dispatcherServlet'
2019-06-10 15:36:26.331 [http-nio-8080-exec-1] INFO  org.springframework.web.servlet.DispatcherServlet:546 - Completed initialization in 15 ms
2019-06-10 15:36:26.362 [http-nio-8080-exec-1] WARN  org.apache.shiro.mgt.AbstractRememberMeManager:449 - There was a failure while trying to retrieve remembered principals.  This could be due to a configuration problem or corrupted principals.  This could also be due to a recently changed encryption key, if you are using a shiro.ini file, this property would be 'securityManager.rememberMeManager.cipherKey' see: http://shiro.apache.org/web.html#Web-RememberMeServices. The remembered identity will be forgotten and not used for this request.
2019-06-10 15:36:26.364 [http-nio-8080-exec-1] WARN  org.apache.shiro.mgt.DefaultSecurityManager:617 - Delegate RememberMeManager instance of type [org.apache.shiro.web.mgt.CookieRememberMeManager] threw an exception during getRememberedPrincipals().
org.apache.shiro.crypto.CryptoException: Unable to execute 'doFinal' with cipher instance [javax.crypto.Cipher@398ae1cd].
        at org.apache.shiro.crypto.JcaCipherService.crypt(JcaCipherService.java:462)
        at org.apache.shiro.crypto.JcaCipherService.crypt(JcaCipherService.java:445)
        at org.apache.shiro.crypto.JcaCipherService.decrypt(JcaCipherService.java:390)
        at org.apache.shiro.crypto.JcaCipherService.decrypt(JcaCipherService.java:382)
        at org.apache.shiro.mgt.AbstractRememberMeManager.decrypt(AbstractRememberMeManager.java:482)
        at org.apache.shiro.mgt.AbstractRememberMeManager.convertBytesToPrincipals(AbstractRememberMeManager.java:419)
        at org.apache.shiro.mgt.AbstractRememberMeManager.getRememberedPrincipals(AbstractRememberMeManager.java:386)
        at org.apache.shiro.mgt.DefaultSecurityManager.getRememberedIdentity(DefaultSecurityManager.java:612)
        at org.apache.shiro.mgt.DefaultSecurityManager.resolvePrincipals(DefaultSecurityManager.java:500)
        at org.apache.shiro.mgt.DefaultSecurityManager.createSubject(DefaultSecurityManager.java:346)
        at org.apache.shiro.subject.Subject$Builder.buildSubject(Subject.java:845)
        at org.apache.shiro.web.subject.WebSubject$Builder.buildWebSubject(WebSubject.java:148)
        at org.apache.shiro.web.servlet.AbstractShiroFilter.createSubject(AbstractShiroFilter.java:292)
        at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:359)
        at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.boot.actuate.web.trace.servlet.HttpTraceFilter.doFilterInternal(HttpTraceFilter.java:90)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.filterAndRecordMetrics(WebMvcMetricsFilter.java:117)
        at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:106)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        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)
Caused by: javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.
        at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:991)
        at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:847)
        at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:446)
        at javax.crypto.Cipher.doFinal(Cipher.java:2164)
        at org.apache.shiro.crypto.JcaCipherService.crypt(JcaCipherService.java:459)
        ... 60 common frames omitted
发表于 2019-6-11 11:54:31 | 显示全部楼层
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): org.jeecg.modules.ngalain.mapper.NgAlainMapper.selectPage

求解,获取列表时一直报这个错,谢谢
发表于 2019-6-11 12:14:25 | 显示全部楼层
劫一个月 发表于 2019-5-21 11:16
95% emitting CopyPlugin
98% after emitting CopyPlugin
ERROR  Failed to compile with 1 errors11:06: ...

yarn install
发表于 2019-6-11 12:27:01 | 显示全部楼层
听雨811 发表于 2019-6-11 11:54
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): org.jeecg.modules.n ...

你用的是angular版本?
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表