Configure the JBoss diagram in myeclipse

Source: Internet
Author: User

Prerequisites: you have configured your Java environment and installed the myeclipse plug-in.

1. Download JBoss from http://www.jboss.org/and decompress it in a directory (note that this directory or its parent directory cannot contain spaces; otherwise, an error cannot be found)

2. Configure the server
1) Click the myeclipse option. (Still under "preferences" under the "windows" option in the menu bar)


2) In the preference dialog box, find myeclipse on the left and select enable. Note: Do not change the server name. Click application.
3) Select JDK
4) Configure launch and click OK.


5) Start JBoss in the tool ,(You can also enable it in the mode of "debug" on the servers label.)


6) The startup is successful. If the startup is successful, the following prompt will be displayed. It is best to run it in the bin of JBoss before starting. start BAT to see if it is successful. If it is successful but cannot be started from myeclipse, It is the configuration problem.

3. Note that if you extract JBoss to an inappropriate location, such as the desktop, the desktop path is C:/Documents and Settings/XX/desktop, the path name always contains the "statements and settings" containing spaces. In this way, the "cocould not find the main class" error will always be reported when the server is enabled in myeclipse.

In fact, the tomcat-based Web application configuration method is similar

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.