-
Maven 多模块项目加载 jar 包时 missing 的问题求解
2018-04-19 09:33[ERROR] Failed to execute goal on project jingjing-school-service: Could not resolve dependencies for project com.hy.jingjing:jingjing-schoo l-service:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at com.hy.jingjing:jingjing-auth-client:jar:0.0.1-SNAPSHOT: Failed to read arti fact descriptor for com.hy.jingjing:jingjing-auth-client:jar:0.0.1-SNAPSHOT: Failure to find com.hy.jingjing:jingjing-auth:pom:0.0.1-SNAPSHO T in http://192.168.0.249:8082/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus-mirror has elapsed or updates are forced -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :jingjing-school-service
-
Maven 多模块项目加载 jar 包时 missing 的问题求解
2018-04-19 09:33[INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building jingjing-school-service 0.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] jingjing-school .................................... SUCCESS [ 0.531 s] [INFO] jingjing-school-entity ............................. SUCCESS [ 1.932 s] [INFO] jingjing-school-dao ................................ SUCCESS [ 0.320 s] [INFO] jingjing-school-service ............................ FAILURE [ 0.166 s] [INFO] jingjing-school-api ................................ SKIPPED [INFO] jingjing school client ............................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.609 s [INFO] Finished at: 2018-04-19T09:31:13+08:00 [INFO] Final Memory: 36M/434M [INFO] ------------------------------------------------------------------------
-
Maven 多模块项目加载 jar 包时 missing 的问题求解
2018-04-19 09:25@88250 只有 api 模块与 service 模块报错,在仓库中是找不到 jar 包的
应该是如下图 dao 模块这样的,引入的是本地项目对应的文件夹
-
Hibernate 使用 getJdbcTemplate().queryForList(sql) 查询数据为空
2018-03-06 12:01SQL 如下:
SELECT s.name,ct.CLASSNAME, count(s.STUDENT_ID) count,si.TITLE
from student s,classtable ct, systeminfo si, mall_items mi,exchange_record er
where s.CLASSID = ct.ID AND ct.sid = si.NUM AND s.ID = er.exchange_stuid AND mi.Id = er.exchange_mall_items_id
GROUP BY s.STUDENT_ID ORDER BY count DESC