In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail how to add library files for vscode. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
How do I add library files for vscode?
Problem: because idea associates idea with jar libraries through configuration in .idea / libbraries/xxx.xml.
Put the java project in idea directly into vscode, and vscode cannot run because it uses its own configuration file to associate the jar library.
Solution:
Because vscode needs the four configuration files it needs to run the java project: .configuration, .vscode, .project, .classpath, while java projects created by other projects certainly do not have the configuration it needs for vscode. So, for convenience, use vscode's tool to create an empty java project with your own project name (or not).
The shortcut key ctrl + shift + p opens the command to enter Java: Create Java Project, and then enter the project name, you can get a configuration file for an empty project, and delete the redundant main class.
Into your own project, put the .movie, .vscode, .project, .classpath file.
Open the .classpath file, add lines, and add all the required dependent library jar file names.
Note: if the changes to the .classpath do not take effect immediately, restart vscode.
On "how to add library files for vscode" this article is shared here, I hope the above content can be of some help to you, so that you can learn more knowledge, if you think the article is good, please share it out for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.