security-enterprise后台工程启动日志报找不到主键,项目能跑,但不知道有没有影响

提问 未结 3 67
loquito
loquito VIP3 2021-07-13
悬赏:20积分
更新了最新的后台和使用db脚本建库 2021-07-13 16:44:14.515 WARN 48152 --- [ main] c.b.m.core.metadata.TableInfoHelper : Can not find table primary key in Class: "io.renren.modules.notice.entity.SysNoticeUserEntity". 2021-07-13 16:44:14.727 WARN 48152 --- [ main] c.b.m.core.metadata.TableInfoHelper : Can not find table primary key in Class: "io.renren.modules.sys.entity.SysLanguageEntity". 前端项目过期几个: peerDependencies WARNING less-loader@^10.0.0 requires a peer of webpack@^5.0.0 but none was installed peerDependencies WARNING vue-echarts@^6.0.0-rc.6 requires a peer of @vue/composition-api@^1.0.0-rc.2 but none was installed peerDependencies WARNING vite-plugin-pwa@0.8.1 › workbox-build@6.1.5 › @rollup/plugin-babel@^5.2.0 requires a peer of @types/babel__core@^7.1.9 but none was installed peerDependencies WARNING @vueuse/core@5.1.3 › vue-demi@* requires a peer of @vue/composition-api@^1.0.0-rc.1 but none was installed peerDependencies WARNING vue-echarts@6.0.0-rc.6 › vue-demi@^0.9.1 requires a peer of @vue/composition-api@^1.0.0-beta.1 but none was installed deprecate vite-plugin-pwa@0.8.1 › workbox-build@6.1.5 › @hapi/joi@^16.1.8 Switch to 'npm install joi' deprecate vite-plugin-pwa@0.8.1 › workbox-build@6.1.5 › @hapi/joi@16.1.8 › @hapi/topo@^3.1.3 This version has been deprecated and is no longer supported or maintained deprecate vite-plugin-pwa@0.8.1 › workbox-build@6.1.5 › @hapi/joi@16.1.8 › @hapi/address@^2.1.2 Moved to 'npm install @sideway/address' deprecate vite-plugin-pwa@0.8.1 › workbox-build@6.1.5 › @hapi/joi@16.1.8 › @hapi/hoek@^8.2.4 This version has been deprecated and is no longer supported or maintained deprecate vite-plugin-pwa@0.8.1 › workbox-build@6.1.5 › @hapi/joi@16.1.8 › @hapi/pinpoint@^1.0.2 Moved to 'npm install @sideway/pinpoint' deprecate vite-plugin-pwa@0.8.1 › workbox-build@6.1.5 › @hapi/joi@16.1.8 › @hapi/formula@^1.2.0 Moved to 'npm install @sideway/formula' deprecate vite-plugin-svg-icons@0.7.1 › svg-baker@1.7.0 › micromatch@3.1.0 › braces@2.3.2 › snapdragon@0.8.2 › source-map-resolve@0.5.3 › urix@^0.1.0 Please see https://github.com/lydell/urix#deprecated deprecate vite-plugin-svg-icons@0.7.1 › svg-baker@1.7.0 › micromatch@3.1.0 › braces@2.3.2 › snapdragon@0.8.2 › source-map-resolve@0.5.3 › resolve-url@^0.2.1 https://github.com/lydell/resolve-url#deprecated deprecate vue-tsc@0.1.7 › vscode-vue-languageservice@0.25.28 › @starptech/prettyhtml@0.10.0 › unified@7.1.0 › @types/vfile@3.0.2 › @types/vfile-message@* This is a stub types definition. vfile-message provides its own type definitions, so you do not need this installed. nodejs版本v14.16.1,按照文档执行 安装和配置环境后yarn dev 报错如下: D:\workspace\security-enterprise-admin>yarn dev yarn run v1.22.10 $ vite internal/modules/cjs/loader.js:883 throw err; ^ Error: Cannot find module 'vite/dist/client/client.mjs' Require stack: - D:\workspace\security-enterprise-admin\node_modules\_vite@2.4.2@vite\dist\node\chunks\dep-11db14da.js - D:\workspace\security-enterprise-admin\node_modules\_vite@2.4.2@vite\dist\node\cli.js - D:\workspace\security-enterprise-admin\node_modules\_vite@2.4.2@vite\bin\vite.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15) at Function.resolve (internal/modules/cjs/helpers.js:94:19) at Object.<anonymous> (D:\workspace\security-enterprise-admin\node_modules\_vite@2.4.2@vite\dist\node\chunks\dep-11db14da.js:3184:30) at Module._compile (internal/modules/cjs/loader.js:1063:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10) at Module.load (internal/modules/cjs/loader.js:928:32) at Function.Module._load (internal/modules/cjs/loader.js:769:14) at Module.require (internal/modules/cjs/loader.js:952:19) at require (internal/modules/cjs/helpers.js:88:18) at Object.<anonymous> (D:\workspace\security-enterprise-admin\node_modules\_vite@2.4.2@vite\dist\node\cli.js:4:13) { code: 'MODULE_NOT_FOUND', requireStack: [ 'D:\\workspace\\security-enterprise-admin\\node_modules\\_vite@2.4.2@vite\\dist\\node\\chunks\\dep-11db14da.js', 'D:\\workspace\\security-enterprise-admin\\node_modules\\_vite@2.4.2@vite\\dist\\node\\cli.js', 'D:\\workspace\\security-enterprise-admin\\node_modules\\_vite@2.4.2@vite\\bin\\vite.js' ] } error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
回帖
  • loquito
    2021-07-13
    噢,前端问题解决了,漏了个地方。。。后端的那个找不到主键的提示,麻烦开发组看看有没有影响哈
    0 回复
  • @loquito 这个2个表没有定义主键,不影响使用的
    0 回复
  • loquito
    2021-07-15
    @Mark 还有个问题 WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.apache.ibatis.reflection.invoker.GetFieldInvoker (file:/Users/florentino/.m2/repository/org/mybatis/mybatis/3.5.3/mybatis-3.5.3.jar) to field java.lang.reflect.Proxy.h WARNING: Please consider reporting this to the maintainers of org.apache.ibatis.reflection.invoker.GetFieldInvoker WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release
    0 回复