我们有Goole App Engine Java项目,它使用Plivo(短消息,电话呼叫平台)发送短信。它使用发送短信。当我试图发送短信时,我得到了NoClassDefFoundError异常
java.lang.NoClassDefFoundError: javax.naming.ldap.LdapName is a restricted class. Please see the Google App Engine developer's guide for more details.
at com.google.appengine.tools.development.a
下面是我的子进程调用:
def myrun(cmd):
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
stdout = []
while True:
line = p.stdout.readline()
stdout.append(line)
print line,
if line == '' and p.poll() != None:
break
return ''.j