gpt4 book ai didi

java - SoapUI 加载插件抛出安全异常 - 具有未签名的类文件

转载 作者:行者123 更新时间:2023-12-01 10:36:03 25 4
gpt4 key购买 nike

我正在尝试为 SoapUI 创建一个新的插件(开源)。我遵循了 steps mentioned here创建一个插件。

构建项目后我 placed the jar file in plugins folderuser\.soapuios\plugins 中。[因为插件管理器不会提供免费版本]

当 SoapUI 启动时,插件未加载。它抛出以下错误,插件具有未签名的类

SoapUI 5.2.1 OpenSource
Windows 7

2016-01-11 17:02:58,736 ERROR [SoapUI] An error occurred [The plugin 'C:\Users\xxxx\.soapuios\plugins\testplugin-1.0.0.jar' has unsigned class files.], see error log for details
2016-01-11 17:02:58,752 ERROR [errorlog] java.lang.SecurityException: The plugin 'C:\Users\525372\.soapuios\plugins\testplugin-1.0.0.jar' has unsigned class files.
java.lang.SecurityException: The plugin 'C:\Users\525372\.soapuios\plugins\testplugin-1.0.0.jar' has unsigned class files.
at com.eviware.soapui.plugins.ProductBodyguard$JarVerifier.verify(ProductBodyguard.java:107)
at com.eviware.soapui.plugins.ProductBodyguard.isKnown(ProductBodyguard.java:39)
at com.eviware.soapui.plugins.PluginManager.loadPlugins(PluginManager.java:93)
at com.eviware.soapui.DefaultSoapUICore.loadPlugins(DefaultSoapUICore.java:155)
at com.eviware.soapui.DefaultSoapUICore.init(DefaultSoapUICore.java:133)
at com.eviware.soapui.StandaloneSoapUICore.<init>(StandaloneSoapUICore.java:38)
at com.eviware.soapui.SoapUI$SoapUIRunner.run(SoapUI.java:721)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
2016-01-11 17:02:58,783 WARN [SoapUI] Plugin 'testplugin-1.0.0.jar' is not loaded because it hasn't been signed by SmartBear Software.

最佳答案

根据this thread看起来从 5.2.1 开始,标准 SoapUI 将不接受来自未知来源的插件。社区经理(SmartBear 员工)写道:

As far as I know some changes with the plugin manager were implemented in SoapUI 5.2.1. Since that, only SmartBear-made plugins can work with the new manager.

I can suggest the following options for you:

  • You can send your plugin at soapuiplugins@smartbear.com. Our team will review it and add to the product.
  • You can consider moving to SoapUI NG - user-made plugins are allowed here. SoapUI NG is the newest SoapUI version and it is included into Ready! API.

如果您检查该线程,您可能还会发现一些其他对您的情况有帮助的建议。 (出于测试目的,有一种破解方法可以绕过此保护)

关于java - SoapUI 加载插件抛出安全异常 - 具有未签名的类文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34720668/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com