eclipse 启动报错,菜鸟求组

elan8692 2020-05-15 07:02:20
各位大牛,启动过程出现错误 请问是什么原因,该怎么解决,谢谢!急求

1、java.io.FileNotFoundException: C:\Users\LENOVO\.m2\repository\com\sun\xml\bind\jaxb-impl\2.3.0\jaxb-core.jar (系统找不到指定的文件。)

2、com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host localhost, port 1433 has failed. Error: "connect timed out. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".
...全文
198 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
第一个问题:把C:\Users\LENOVO\.m2\repository\com\sun\xml下的bind文件夹删除,然后在pom.xml中加上如下配置。重新update project

<!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-core -->
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
<version>2.3.0</version>
</dependency>



第二个问题,启动你的sql server,不会启动就把你的问题百度一下。。。

58,454

社区成员

发帖
与我相关
我的任务
社区描述
Java Eclipse
社区管理员
  • Eclipse
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧