Apache ofBiz新插件:缺少错误消息



我尝试在ofbiz

中创建一个新插件
 <request-map uri="main"><security https="true" auth="false"/><response 
     name="success" type="view" value="main"/></request-map>
       <!-- View Mappings -->
   <view-map name="main" type="screen" page="component://xxx/widget
    /xxxScreens.xml#main"/>

inbiz-componenent.xml:

<webapp name="xxx"
 title="xxx"
 server="default-server"
location="webapp/xxx"
 base-permission="OFBTOOLS,XXX"
 mount-point="/xxx"/

当我尝试调用插件控制器时:

  https://localhost:8443/xxx/control/main

什么也没有发生: - 空页面(无HTML结构( - 没有错误msg,根本没有日志条目(不在ofbiz.log或error.log中(

我如何找出出了什么问题?我如何获得任何(进一步的(信息?

请关注readme.md文件,该文件说:

Create a new plugin. The following project parameters are passed:
    pluginId: mandatory
    pluginResourceName: optional, default is the Capitalized value of pluginId
    webappName: optional, default is the value of pluginId
    basePermission: optional, default is the UPPERCASE value of pluginId
gradlew createPlugin -PpluginId=myplugin
gradlew createPlugin -PpluginId=myplugin -PpluginResourceName=MyPlugin -PwebappName=mypluginweb -PbasePermission=MYSECURITY
The above commands achieve the following:
    create a new plugin in /specialpurpose/myplugin
    add the plugin to /specialpurpose/component-load.xml

相关内容

最新更新