【发布时间】:2018-04-16 15:31:28
【问题描述】:
我想混淆我的代码。 我的应用程序启动了一个 Web 服务。
import javax.xml.ws.Endpoint;
@Override
protected void run() throws Exception {
logger.info("Starting Server");
basicHttpBinding_ITestServiceImpl = new BasicHttpBinding_ITestServiceImpl();
logger.debug("BasicHttpBinding_ITestServiceImpl is created");
ep = Endpoint.create(basicHttpBinding_ITestServiceImpl);
logger.debug("Endpoint created");
ep.publish(this.address);
logger.info("Server ready...");
}
代码在混淆之前可以正常工作。 但是当我尝试混淆我的代码时,执行被阻止在 ep.publish(this.address);
有关信息,我使用 proguard 来混淆我的代码。
如果有人有任何想法? 在编译和混淆过程中我没有问题。 我的班级没有被混淆(但其他班级被混淆了)。
【问题讨论】:
-
你能分享你的配置吗?另外,您在问题中提到的混淆类是否与您的问题类有关?
-
不,我的课程没有被混淆,但其他课程是。 (没有混淆的类和这个没有混淆的类之间的链接)