启动项目时出现Not a JAR.......Find JAR........一指循环就是起不来

出现问题原因就是mapper的映射文件有问题,里面的返回类型如是实体找不到或者找重复的就会这样

解决办法就是:确保在用的实体(路径)能找到,切记不能有重名的实体

原文地址:https://www.cnblogs.com/austinspark-jessylu/p/9086271.html

时间: 2024-08-30 17:41:07

启动项目时出现Not a JAR.......Find JAR........一指循环就是起不来的相关文章

Spring:启动项目时加载数据库数据(总结)

在项目中需要启动程序时,要将数据库的用户信息表加载到内存中,找到一下几种方式. 1.实现ApplicationListener接口,重写onApplicationEvent方法,可以在项目启动的时候执行该方法. @Component("userInit") public class UserInit implements ApplicationListener { public static Map<String,User> map=new HashMap<Strin

使用servers 启动项目时 ,一直处于启动中, 最后出现无法的问题。

使用eclipse 中的servers 配置了一个server 来启动项目, 发现无法启动 排除法: 去掉项目配置,单独启动该server ,发现可以启动, 说明是项目出现问题 但是项目并没有报错, 没有报错可能是eclipse 平台的校验出现问题,这时候对项目手动执行 validate 即可看到问题 我的问题是mybatis 配置的一个xml 文件有问题,但是我写的时候eclipse 并没有提示错误.,使用validate 校验发现了写法错误.

Activiti+oracle 启动项目时不能自动建表或更新表的问题分析及解决办法

现象描述:按照正常配置,第一次启动时不能自动建表 关键配置片段如下: <bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration"> <property name="dataSource" ref="dataSource" /> <property name=&q

Eclipse启动项目时,删除workspaces无用的工作区间

选择菜单栏的window-->Preferences-->General-->Startup and Shutdown-->workspaces, Recent workspaces下面的列表里就是已经设置过的工作区间.如果要删除已不用的,选中,点remove就好了. 如果之前选择不再提示,默认使用本工作区,在启动时想重新选择, 把右面的第一个复选框“Prompt for workspace on startup选上就可以了. Number of recent workspaces

springboot启动项目时执行任务,从数据库或者redis获取系统参数

在springboot启动类方法实现org.springframework.boot.CommandLineRunner接口 import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.sprin

启动项目时出现Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (72)

前几天趁假期重新装了一次系统,重新安装各种配置之后再启动项目的时候就报这个错误 第一反应就是去搜这个错误怎么解决,搜来搜去基本上都是让我重新安装node-sass,但我重装node-sass的时候又出现了新的错误,整了半天还是没整好 然后静下心来仔细看了一下错误提示,查看了下面那个github网址https://github.com/sass/node-sass/releases/tag/v4.9.3看到了这个 然后就知道是node版本的问题了,我的是v12.x,换了一个10.5的版本就好了 原

MyEclipse下启动项目时JBoss内存溢出问题的解决

配置1:-Xms64m -Xmx512m 配置2:-c default -b 0.0.0.0-Xmx1024M -Xms512M -XX:MaxPermSize=256m

启动项目时,mapper.xml文件没有导入

原因分析:绑定的statement没有发现,原因是只有mapper接口的java文件,没有xml文件 解决方法:需要在pom文件中进行配置 1 <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉. --> 2 <build> 3 <resources> 4 <resource> 5 <directory>src/main/java</directory> 6 <includes> 7 <in

在eclipse中创建maven webapp项目时弹出错误-解决办法

在eclipse中创建maven webapp项目时报错: Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:1.0 from any of the configured repositories. 问题产生原因:是因为本地仓库中缺少了maven-archetype-webapp包,也可能这个包下载不完全,比如:只有pom文件,或只有jar包文件等   [包路径为:C:\Users\xxx