简体   繁体   English

如何在Eclipse中添加非Maven项目jar文件?

[英]How to add a non maven project jar file in eclipse?

I have a project jar file. 我有一个项目jar文件。 I want to add that project in eclipse. 我想在Eclipse中添加该项目。 But that project is a non maven project. 但是那个项目不是非Maven项目。 Is there any way to add that project in eclipse? 有什么办法可以在Eclipse中添加该项目?

Just import your project in to eclipse and convert it to maven project. 只需将您的项目导入到Eclipse中,然后将其转换为Maven项目即可。

file -> import -> existing project

then convert your project to maven 然后将您的项目转换为Maven

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Eclipse如何将jar文件导入为Maven项目 - Eclipse how to import a jar file as a maven project 如何在不使用gradle或Maven或Eclipse的情况下将jar文件添加到Java项目 - How to add jar files to java project without gradle or Maven or Eclipse Eclipse-如何将一个项目作为Maven依赖项添加到另一个项目中,而不是作为一个jar添加? - Eclipse - How to add a project as a Maven dependency to another, instead of adding as a jar? 如何在Maven项目中将非jar文件添加到classpath? - How to add non-jar files to classpath in Maven project? 如何在Eclipse中将github maven项目导入为jar文件? - How to import github maven project as jar file in Eclipse? 如何使用 Eclipse 将 Maven 项目导出到 exe(或 jar)文件? - How to export Maven project to exe (or jar) file using Eclipse? 如何使用hibernate配置为maven eclipse项目制作runnable jar文件 - How to make the runnable jar file for a maven eclipse project with hibernate configuration 如何在 Eclipse 中从 Maven 项目创建 Jar 文件 - How to create Jar file from Maven project in eclipse 如何在eclipse中为maven servlet项目生成一个可执行的jar文件并使用jar文件执行一个类? - How to generate an executable jar file for a maven servlet project in eclipse and execute a class using the jar file? 如何在Maven项目中添加我自己的jar文件 - How to add my own jar file in maven project
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM