JPublishWrapper error in worldPay

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

JPublishWrapper error in worldPay

nachi19-2
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...
Reply | Threaded
Open this post in threaded view
|

Re: JPublishWrapper error in worldPay

Ashish Nagar
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...
>  

Reply | Threaded
Open this post in threaded view
|

Re: JPublishWrapper error in worldPay

Ashish Nagar
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...
>>  
>

Reply | Threaded
Open this post in threaded view
|

Re: JPublishWrapper error in worldPay

Ashish Nagar
In reply to this post by nachi19-2
The reason is very same, JPublishWrapper.java needs some more java files
to be compiled before. Some packages to be included is again a must,
like jpublish.

Thanks & Regards:
--
Ashish Nagar
[hidden email] wrote:

> Hi ashish,
>     Ya even worldpayevents.java was also not compiling when i ant it.. later i modified in build.xml file then it compiled ... do u know why JPublishWrapper is not compiling...
> 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...
>>>  
>>>      
>>
>>    
> Quoted from:
> http://www.nabble.com/JPublishWrapper-error-in-worldPay-tp22628595p22632999.html
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: JPublishWrapper error in worldPay

Ashish Nagar
Hello Nachi,

I think you are looking for jpublish package. You can download it from
this link http://sourceforge.net/project/showfiles.php?group_id=26450.

You can use these jars & src files for your purpose.

Thanks & Regards,
--
Ashish Nagar



nachi ... wrote:

> HI Ashish,
>       What may be the reason for not compiling the
> JPublishwrapper.java file ...is there any jar file missing ... can u
> help me out in resolving this... i have to integrate worldpay to the
> application i have the installationid and the user name and password
> ..i will be expecting your guidance... thanks in advance..
>
> On Sat, Mar 21, 2009 at 9:44 PM, Ashish Nagar
> <[hidden email] <mailto:[hidden email]>>
> wrote:
>
>     The reason is very same, JPublishWrapper.java needs some more java
>     files to be compiled before. Some packages to be included is again
>     a must, like jpublish.
>
>     Thanks & Regards:
>     --
>     Ashish Nagar
>     [hidden email] <mailto:[hidden email]> wrote:
>>     Hi ashish,
>>         Ya even worldpayevents.java was also not compiling when i ant it.. later i modified in build.xml file then it compiled ... do u know why JPublishWrapper is not compiling...
>>     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 <http://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 <http://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...
>>>>      
>>>>          
>>>        
>>     Quoted from:
>>     http://www.nabble.com/JPublishWrapper-error-in-worldPay-tp22628595p22632999.html
>>
>>      
>
>
>
>
> --
> Regards,
> nachi...