This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 234577 - i can not add a tomcat to my IDE
Summary: i can not add a tomcat to my IDE
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 7.3.1
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-19 07:55 UTC by zzznet
Modified: 2013-08-20 09:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (212.40 KB, text/plain)
2013-08-19 07:55 UTC, zzznet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zzznet 2013-08-19 07:55:23 UTC
Product Version = NetBeans IDE 7.3.1 (Build 201306052037)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_18
Runtime = Java HotSpot(TM) Client VM 16.0-b13

i try to add a tomcat to netbeans, but i always tell me the home directory in invalid, i have no idea now.
i tried change the directory several times but it did not work.
Comment 1 zzznet 2013-08-19 07:55:34 UTC
Created attachment 138852 [details]
IDE log
Comment 2 zzznet 2013-08-19 08:05:37 UTC
(In reply to zzznet from comment #0)
> Product Version = NetBeans IDE 7.3.1 (Build 201306052037)
> Operating System = Windows XP version 5.1 running on x86
> Java; VM; Vendor = 1.6.0_18
> Runtime = Java HotSpot(TM) Client VM 16.0-b13
> 
> i try to add a tomcat to netbeans, but i always tell me the home directory
> in invalid, i have no idea now.
> i tried change the directory several times but it did not work.

i am sorry that i had some typo.
now i modify these words and it will be:

i tried to add a tomcat to netbeans, but it always tell me that the home directory is invalid, i have no idea now.
i tried change the directory several times but it did not work.
Comment 3 David Konecny 2013-08-19 22:43:21 UTC
java.lang.UnsupportedClassVersionError: 
  org/apache/catalina/util/ServerInfo : Unsupported major.minor version 51.0

It looks to me that you are running NB on JDK 6 but Tomcat which you are registering in the IDE was compiled and requires JDK 7??
Comment 4 Petr Hejl 2013-08-20 09:03:03 UTC
Should be fixed in web-main 9fbb1ab1396b. Please verify.