---
title: "Exception in thread \"main\" java.lang.NoClassDefFoundError: org/apache/commons/di"
author: "ydsakyclguozi"
date: "2010-04-13T23:55:05Z"
tags: []
categories: ["Web前端"]
slug: "exception-in-thread-main-java-lang-noclassdeffounderror-org-apache-commons-di"
draft: false
lastmod: "2010-04-13T23:55:05Z"
id: 643287
url: "https://52347.iteye.com/blog/643287"
---

C:\Documents and Settings\Administrator>java org.apache.axis.wsdl.WSDL2Java -a http://webservice.webxml.com.cn/webservices/DomesticAirline.asmx?wsdl
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/discovery/tools/DiscoverSingleton
        at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41)
        at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33)
        at org.apache.axis.i18n.ProjectResourceBundle.<clinit>(ProjectResourceBundle.java:53)
        at org.apache.axis.i18n.MessagesConstants.<clinit>(MessagesConstants.java:32)
        at org.apache.axis.utils.Messages.<clinit>(Messages.java:36)
        at org.apache.axis.wsdl.WSDL2Java.<clinit>(WSDL2Java.java:112)