You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by nachi19 <na...@gmail.com> on 2009/03/20 21:52:22 UTC

JPublishWrapper error in worldPay

Hi,
    I am integrating the world pay with the ofbiz application at the time of
compiling i am getting these errors regarding the JPublishWrapper...
Compiling 29 source files to
E:\pradeep\ofbiz-trunk\applications\accounting\build\classes
E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:62:
cannot find symbol
symbol  : class JPublishWrapper
location: class org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet
    protected JPublishWrapper jp = null;
              ^
E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:77:
cannot find symbol
symbol  : class JPublishWrapper
location: class org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet
            this.jp = (JPublishWrapper)
context.getAttribute("jpublishWrapper");
                       ^
E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:79:
cannot find symbol
symbol  : class JPublishWrapper
location: class org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet
                this.jp = new JPublishWrapper(context);
                              ^
E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:225:
cannot find symbol
symbol  : variable UtilValidate
location: class org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet
        if (UtilValidate.isNotEmpty(paymentPrefs)) {
            ^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors


Can anyone tell me where is the problem...
-- 
View this message in context: http://www.nabble.com/JPublishWrapper-error-in-worldPay-tp22628595p22628595.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: JPublishWrapper error in worldPay

Posted by Ashish Nagar <as...@hotwaxmedia.com>.
You can refer to /framework/webapp/build.xml file.
    <patternset id="src.exc.set">
        <!-- JasperReports dependent files -->
        <exclude 
name="org/ofbiz/webapp/view/JasperReportsPdfViewHandler.java"/>
        <exclude 
name="org/ofbiz/webapp/view/JasperReportsXmlViewHandler.java"/>
        <exclude 
name="org/ofbiz/webapp/view/JasperReportsJXlsViewHandler.java"/>
        <exclude 
name="org/ofbiz/webapp/view/JasperReportsPoiXlsViewHandler.java"/>
        <!-- JPublish/EdenLib dependent files -->
        <exclude name="org/ofbiz/webapp/view/GenericViewRenderer.java"/>
        <exclude name="org/ofbiz/webapp/view/JPublishViewHandler.java"/>
        <exclude name="org/ofbiz/webapp/view/JPublishWrapper.java"/>
        <exclude name="org/ofbiz/webapp/view/FopPdfViewHandler.java"/>
        <exclude name="org/ofbiz/webapp/ftl/FreeMarkerViewRenderer.java"/>
        <exclude name="org/ofbiz/webapp/ftl/JpCacheIncludeTransform.java"/>
    </patternset>

You can compile JPublishWrapper.java, by removing it from <exclude/>, 
but that would again have dependencies on some more java files to be 
compiled, & packages to be included. For more information you can go 
through the error log.

Thanks & Regards,
--
Ashish Nagar

Ashish Nagar wrote:
> Hello Nachi,
>
> I think the JPublishWrapper.java is not getting compiled, so the 
> symbol JPublishWrapper is undefined. I found that after running ant 
> command this file is not compiled.
>
> Thanks & Regards,
> -- 
> Ashish Nagar
>
> nachi19 wrote:
>> Hi,
>>     I am integrating the world pay with the ofbiz application at the 
>> time of
>> compiling i am getting these errors regarding the JPublishWrapper...
>> Compiling 29 source files to
>> E:\pradeep\ofbiz-trunk\applications\accounting\build\classes
>> E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:62: 
>>
>> cannot find symbol
>> symbol  : class JPublishWrapper
>> location: class 
>> org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet
>>     protected JPublishWrapper jp = null;
>>               ^
>> E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:77: 
>>
>> cannot find symbol
>> symbol  : class JPublishWrapper
>> location: class 
>> org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet
>>             this.jp = (JPublishWrapper)
>> context.getAttribute("jpublishWrapper");
>>                        ^
>> E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:79: 
>>
>> cannot find symbol
>> symbol  : class JPublishWrapper
>> location: class 
>> org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet
>>                 this.jp = new JPublishWrapper(context);
>>                               ^
>> E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:225: 
>>
>> cannot find symbol
>> symbol  : variable UtilValidate
>> location: class 
>> org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet
>>         if (UtilValidate.isNotEmpty(paymentPrefs)) {
>>             ^
>> Note: Some input files use unchecked or unsafe operations.
>> Note: Recompile with -Xlint:unchecked for details.
>> 4 errors
>>
>>
>> Can anyone tell me where is the problem...
>>   
>


Re: JPublishWrapper error in worldPay

Posted by Ashish Nagar <as...@hotwaxmedia.com>.
Hello Nachi,

I think the JPublishWrapper.java is not getting compiled, so the symbol 
JPublishWrapper is undefined. I found that after running ant command 
this file is not compiled.

Thanks & Regards,
--
Ashish Nagar

nachi19 wrote:
> Hi,
>     I am integrating the world pay with the ofbiz application at the time of
> compiling i am getting these errors regarding the JPublishWrapper...
> Compiling 29 source files to
> E:\pradeep\ofbiz-trunk\applications\accounting\build\classes
> E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:62:
> cannot find symbol
> symbol  : class JPublishWrapper
> location: class org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet
>     protected JPublishWrapper jp = null;
>               ^
> E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:77:
> cannot find symbol
> symbol  : class JPublishWrapper
> location: class org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet
>             this.jp = (JPublishWrapper)
> context.getAttribute("jpublishWrapper");
>                        ^
> E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:79:
> cannot find symbol
> symbol  : class JPublishWrapper
> location: class org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet
>                 this.jp = new JPublishWrapper(context);
>                               ^
> E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:225:
> cannot find symbol
> symbol  : variable UtilValidate
> location: class org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet
>         if (UtilValidate.isNotEmpty(paymentPrefs)) {
>             ^
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 4 errors
>
>
> Can anyone tell me where is the problem...
>