[
https://issues.apache.org/jira/browse/TUSCANY-3549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon Nash closed TUSCANY-3549.
-------------------------------
> Build failure in binding-jsonrpc-runtime
> ----------------------------------------
>
> Key: TUSCANY-3549
> URL: https://issues.apache.org/jira/browse/TUSCANY-3549
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA JSON-RPC Binding Extension
> Affects Versions: Java-SCA-1.6
> Reporter: Simon Nash
> Assignee: Simon Nash
> Fix For: Java-SCA-Next
>
>
> When running a maven build for the Tuscany SCA 1.x trunk I see the following
> failure in binding-jsonrpc-runtime. This is caused by commit r928594 which
> introduces a dependency on the class
> com.sun.xml.internal.messaging.saaj.util.Base64. This class is a "forbidden"
> internal class in JDK 6 and any attempt to reference it from source code
> compiled using Sun's javac compiler results in a compilation error.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Tuscany SCA JSON-RPC Binding Runtime
> [INFO] task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [resources:resources]
> [WARNING] File encoding has not been set, using platform encoding Cp1252,
> i.e. build is platform dependent!
> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] Copying 2 resources
> [INFO] Copying 2 resources to META-INF
> [INFO] [compiler:compile]
> [INFO] Compiling 1 source file to
> E:\td\sca1x\trunk\modules\binding-jsonrpc-runtime\target\classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> E:\td\sca1x\trunk\modules\binding-jsonrpc-runtime\src\main\java\org\apache\tuscany\sca\binding\jsonrpc\provider\JSONRPCServiceServlet.java:[53,47]
> package com.sun.xml.internal.messaging.saaj.util does not exist
> E:\td\sca1x\trunk\modules\binding-jsonrpc-runtime\src\main\java\org\apache\tuscany\sca\binding\jsonrpc\provider\JSONRPCServiceServlet.java:[140,32]
> cannot find symbol
> symbol : variable Base64
> location: class
> org.apache.tuscany.sca.binding.jsonrpc.provider.JSONRPCServiceServlet
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.