Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to set eclipse in IDE tool

2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the IDE tool how to set eclipse, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.

1. Add window: for example, add Server window: Window-- > Show View find Servers, click on it; 2. Modify the default format of class comments Window-- > Preferences-> search templ, and find Code Template-- > right Comments setting Types

3. Eclipse debug gets the attribute value of a complex object

In debug mode: window-- > showView-- > expression, as shown below, take Java DispatcherServlet as an example:

4. Eclipse debug inspect

In debug mode, you want to view the return value of an object / method: select the object / method you want to view, right-- > Inspect;, or shortcut key: Crtl+Shift+I

5. Eclipse plugin

5.1. OpenExplorer plug-in: quickly open the local file OpenExplorer downloads in eclipse

6. Eclipse configure JDK

Window-- > Preferences-- > Java-- > select or add your own JDK to the right of Installed JREs

7. The normal unit test of Spring MVC Junit in eclipse suddenly failed. More Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.ford.vdm.service.DerivativeService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@ org.springframework.beans.factory.annotation.Autowired (required=true)} at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException (DefaultListableBeanFactory.java:1373) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency (DefaultListableBeanFactory.java:1119) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency (DefaultListableBeanFactory.java:1014) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject (AutowiredAnnotationBeanPostProcessor.java:545)... 28 more

Reason: solution:

Right-click on the project-- > Build Path-- > Configure Buid Path-- > pop-up box'in Properties for projectName'-- > Select Java Build Path-- > right Source window-- > Included:**/*.java' (src/test/java and src/test/resources) in the test directory of the selected project-- > Remove

Thank you for reading this article carefully. I hope the article "how to set up eclipse in IDE tools" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

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.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report