执行jar包遇到这个异常

nohup: ignoring input
Exception in thread “main” java.lang.ClassNotFoundException: christopher.App
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:151)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:46)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
检查pom.xml配置文件启动类的路径对不对

Exception in thread “main“ java.lang.ClassNotFoundException: christopher.App相关推荐

  1. IDEA 14.1.3-import之前的scala项目报错:Exception in thread main java.lang.ClassNotFoundException: kmust.hj

    Run 的时候 D:\Develop\JDK\jdk-7u79-windows-i586\bin\java -Didea.launcher.port=7532 "-Didea.launche ...

  2. Exception in thread “main“ java.lang.ClassNotFoundException解决方案

    启动springboot项目出现以下错误 Exception in thread "main" java.lang.ClassNotFoundException: com.ix.A ...

  3. 【亲测有效】如何解决Hadoop运行jar包 报错Exception in thread “main“ java.lang.ClassNotFoundException: /input

    报错解释 字面意思就是我要运行这个jar但是Java无法找到主类 试错过程 你可能会在这里添加主类,但是还是不行.你可能没辙了. 解决办法 <build><finalName> ...

  4. 运行jar包出现Exception in thread “main“ java.lang.ClassNotFoundException: edu.bigdata.mr.Demo02_WC

    之前是把类放在了test中,所以打包jar包后/IdeaProjects/wordcount/target/classes 中没有我要运行的类,运行jar包就会出现标题错误. 解决方法是把类移到mai ...

  5. Exception in thread main java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

    这个问题当然是找不到mysql的驱动类,可能是环境CLASSPATH有问题或者就是那个人没有加载jdbc的驱动.我在网上下载mysql-connector-java-5.0.8-bin.jar一个这个 ...

  6. SpringBoot—启动报错Exception in thread “main“ java.lang.ClassNotFoundException

    问题   在微服务启动时,日志排查发现无法启动. 解决方案 查看是否有xxxApplication类. 在pom.xml中查看中的内是否未加xxxApplication类.

  7. exception in thread main java,【异常】idea执行Main方法出现 Exception in thread main java.lang.NoClassDefFo...

    一.异常复现步骤 1)首先得是一个Spring MVC项目 注:Spring Boot项目有内置的web 容器,不会出现该问题 2)main方法存在于使用HttpServletRequest类的类中 ...

  8. Exception in thread main java.lang.NoClassDef...

    为什么80%的码农都做不了架构师?>>>    之前一直用tomcat6,今天心血来潮换了tomacat7,从googlecode上down了个项目,运行tomcat总出现以下异常: ...

  9. idea使用spring框架Exception in thread main java.lang.IllegalStateException错误

    自己在用idea自动导包使用spring框架的时候 出现如下错误异常: Exception in thread "main" java.lang.IllegalStateExcep ...

最新文章

  1. 【深度学习】一个应用—肝脏CT图像自动分割(术前评估)
  2. JDBC常见面试题集锦(二)
  3. datatable转化泛型
  4. 指针、引用以及const限定符、constexpr限定符
  5. 钉钉总裁不穷首谈产品观:To B产品用户不只是CEO
  6. Intel Core Enhanced Core架构/微架构/流水线 (11) - 高速缓存读/写操作 Cache Load/Store
  7. 日常踩坑:pip安装包速度过慢,更换国内镜像源(亲测有效)
  8. Postgresql安装配置win版本
  9. 除了定时器,真的没法在Simulation Node 类型的CAPL节点中实现延时了吗?
  10. 平衡小车—TB6612FNG与直流电机控制教程
  11. WordPress如何修改底部备案信息
  12. 月份 星期 英文描述
  13. re.sub 使用方法
  14. 出现Cannot find module 'xxx' 错误
  15. 机器视觉在服务机器人中的应用
  16. 人工智能人工神经网络,神经元网络 人工智能
  17. 小米5无线显示如何连接到服务器,小米电视无线显示怎么用?详细操作方法
  18. mongoose http服务器对TCP流的接收处理
  19. 【IDE】【IDEA】批量将GBK编码的工程,转换为UTF8编码的工程
  20. 程序员别再闷头学机器学习了

热门文章

  1. jquery chosen插件 动态更新数据
  2. 前端技术层出不穷,敢问路在何方?
  3. k3s生产案例分享:逾百台工控机的应用实践
  4. python发短信sim800_SIM800C通讯模块调试(六)接收短信
  5. 为什么越来越多的企业开始注重专利权?
  6. 互联网是怎么形成的?
  7. 芯片丨英伟达同软银等合作 在日韩布署云游戏服务器
  8. 香港大学MSc面试经验分享 | 2019.2.23北京场
  9. MTU,MRU,MSS
  10. 利用tushare接口获取前一日新闻联播文字稿