-Djava.ext.dirs=lib org.apache.axis.client.AdminClient deploy.wsdd
- Unable to find required classes (javax.activation.DataHandler and javax.mail.i
nternet.MimeMultipart). Attachment support is disabled.
Processing file deploy.wsdd
Exception: AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (401)Unauthorized
faultActor:
faultNode:
faultDetail:
{}:return code: 401
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>401 Unauthorized</TITLE>
</HEAD><BODY><H1>Unauthorized</H1>
</BODY></HTML>
{http://xml.apache.org/axis/}HttpErrorCode:401
使用?java -Djava.ext.dirs=lib org.apache.axis.client.AdminClient deploy.wsdd 时报以上错误
查看源代码org.axis.client.AdminClient ?如图?
解决办法,tomcat必须开启,且端口必须为8080 。