• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

MVN build error : could not copy webapp classes

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am trying to build my local environment using mvn clean install. I am running on RSA which has eclipse inside it. Using Weblogic server and maven 2.0.7 my build tool.

When I build it, getting this error

[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building Implementation of Payment Service Adapter 10.01-SNAPSHOT
[INFO] task-segment: [clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] Ignoring available plugin update: 2.1 as it requires Maven version 2.0.9
[INFO] [clean:clean]
[INFO] Deleting C:\MyWorkspaces\EnterpriseServicesPlatform\trunk\com.ideatoceo.billing.payment.PaymentServiceBase-TRUNK\AdapterImpl_10.01\target
[INFO] Deleting C:\MyWorkspaces\EnterpriseServicesPlatform\trunk\com.ideatoceo.billing.payment.PaymentServiceBase-TRUNK\AdapterImpl_10.01\src\main\java (includes = [**/types], excludes = [])
[INFO] [version:version {execution: default}]
[INFO] [antrun:run {execution: ServiceBuild}]
[INFO] Executing tasks
[unzip] Expanding: C:\Documents and Settings\Brixton Six\.m2\repository\com\ideatoceo\core\BuildScripts\10.03-SNAPSHOT\BuildScripts-10.03-SNAPSHOT.jar into C:\MyWorkspaces\EnterpriseServicesPlatform\trunk\com.ideatoceo.billing.payment.PaymentServiceBase-TRUNK\AdapterImpl_10.01\target\BuildScripts
[INFO] Executed tasks
[INFO] [antrun:run {execution: wsdlc}]
[INFO] Executing tasks
[echo] artifact.final.name = PaymentService-ADPTR-10.01-SNAPSHOT
[echo] types.model.package = v1001
[echo] ${legacy.wsdl}
[echo] context.root = ${context.root}
[echo] context.path = Payment/10.01

ntd:check-major-release:
[echo] release.namespace.portion set to ''

ntd:extract-wsdl-service-adapter:
[unzip] Expanding: C:\Documents and Settings\Brixton Six\.m2\repository\com\ideatoceo\service\ServicesModel\10.01-SNAPSHOT\ServicesModel-10.01-SNAPSHOT.jar into C:\MyWorkspaces\EnterpriseServicesPlatform\trunk\com.ideatoceo.billing.payment.PaymentServiceBase-TRUNK\AdapterImpl_10.01\src\main\resources
[copy] Copying 1 file to C:\MyWorkspaces\EnterpriseServicesPlatform\trunk\com.ideatoceo.billing.payment.PaymentServiceBase-TRUNK\AdapterImpl_10.01\src\main\resources

ntd:wsdlc-service-adapter:
[WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfCardPaymentType@java:com.ideatoceo.billing.payment.v1001.types
[WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfBankAccountPaymentType@java:com.ideatoceo.billing.payment.v1001.types
[WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=MessagesType@java:com.ideatoceo.v1001.types
[WARNING] The binding soap:header element for binding operation:
{http://xml.ideatoceo.com/payment/services}addPaymentInstrument
is being IGNORED because its message:
{http://xml.ideatoceo.com/payment/services}paymentServiceRequestHeader
does not match the corresponding input/output portType message:
{http://xml.ideatoceo.com/payment/services}addPaymentInstrument
To handle this soap header, you need to add a handler to your client.

[WARNING] The binding soap:header element for binding operation:
{http://xml.ideatoceo.com/payment/services}addPaymentInstrument
is being IGNORED because its message:
{http://xml.ideatoceo.com/payment/services}paymentServiceResponseHeader
does not match the corresponding input/output portType message:
{http://xml.ideatoceo.com/payment/services}addPaymentInstrumentResponse
To handle this soap header, you need to add a handler to your client.

[WARNING] The binding soap:header element for binding operation:
{http://xml.ideatoceo.com/payment/services}getPrepaidCard
is being IGNORED because its message:
{http://xml.ideatoceo.com/payment/services}paymentServiceRequestHeader
does not match the corresponding input/output portType message:
{http://xml.ideatoceo.com/payment/services}getPrepaidCard
To handle this soap header, you need to add a handler to your client.

[WARNING] The binding soap:header element for binding operation:
{http://xml.ideatoceo.com/payment/services}getPrepaidCard
is being IGNORED because its message:
{http://xml.ideatoceo.com/payment/services}paymentServiceResponseHeader
does not match the corresponding input/output portType message:
{http://xml.ideatoceo.com/payment/services}getPrepaidCardResponse
To handle this soap header, you need to add a handler to your client.

[WARNING] The binding soap:header element for binding operation:
{http://xml.ideatoceo.com/payment/services}modifyPaymentInstrument
is being IGNORED because its message:
{http://xml.ideatoceo.com/payment/services}paymentServiceRequestHeader
does not match the corresponding input/output portType message:
{http://xml.ideatoceo.com/payment/services}modifyPaymentInstrument
To handle this soap header, you need to add a handler to your client.

[WARNING] The binding soap:header element for binding operation:
{http://xml.ideatoceo.com/payment/services}modifyPaymentInstrument
is being IGNORED because its message:
{http://xml.ideatoceo.com/payment/services}paymentServiceResponseHeader
does not match the corresponding input/output portType message:
{http://xml.ideatoceo.com/payment/services}modifyPaymentInstrumentResponse
To handle this soap header, you need to add a handler to your client.

[WARNING] The binding soap:header element for binding operation:
{http://xml.ideatoceo.com/payment/services}queryPaymentInstrumentType
is being IGNORED because its message:
{http://xml.ideatoceo.com/payment/services}paymentServiceRequestHeader
does not match the corresponding input/output portType message:
{http://xml.ideatoceo.com/payment/services}queryPaymentInstrumentType
To handle this soap header, you need to add a handler to your client.

[WARNING] The binding soap:header element for binding operation:
{http://xml.ideatoceo.com/payment/services}queryPaymentInstrumentType
is being IGNORED because its message:
{http://xml.ideatoceo.com/payment/services}paymentServiceResponseHeader
does not match the corresponding input/output portType message:
{http://xml.ideatoceo.com/payment/services}queryPaymentInstrumentTypeResponse
To handle this soap header, you need to add a handler to your client.

[WARNING] The binding soap:header element for binding operation:
{http://xml.ideatoceo.com/payment/services}removePaymentInstrument
is being IGNORED because its message:
{http://xml.ideatoceo.com/payment/services}paymentServiceRequestHeader
does not match the corresponding input/output portType message:
{http://xml.ideatoceo.com/payment/services}removePaymentInstrument
To handle this soap header, you need to add a handler to your client.

[WARNING] The binding soap:header element for binding operation:
{http://xml.ideatoceo.com/payment/services}removePaymentInstrument
is being IGNORED because its message:
{http://xml.ideatoceo.com/payment/services}paymentServiceResponseHeader
does not match the corresponding input/output portType message:
{http://xml.ideatoceo.com/payment/services}removePaymentInstrumentResponse
To handle this soap header, you need to add a handler to your client.

[WARNING] The binding soap:header element for binding operation:
{http://xml.ideatoceo.com/payment/services}submitPayment
is being IGNORED because its message:
{http://xml.ideatoceo.com/payment/services}paymentServiceRequestHeader
does not match the corresponding input/output portType message:
{http://xml.ideatoceo.com/payment/services}submitPayment
To handle this soap header, you need to add a handler to your client.

[WARNING] The binding soap:header element for binding operation:
{http://xml.ideatoceo.com/payment/services}submitPayment
is being IGNORED because its message:
{http://xml.ideatoceo.com/payment/services}paymentServiceResponseHeader
does not match the corresponding input/output portType message:
{http://xml.ideatoceo.com/payment/services}submitPaymentResponse
To handle this soap header, you need to add a handler to your client.

[unjar] Expanding: C:\MyWorkspaces\EnterpriseServicesPlatform\trunk\com.ideatoceo.billing.payment.PaymentServiceBase-TRUNK\AdapterImpl_10.01\target\wsdlc\compiledWsdl\PaymentService_wsdl.jar into C:\MyWorkspaces\EnterpriseServicesPlatform\trunk\com.ideatoceo.billing.payment.PaymentServiceBase-TRUNK\AdapterImpl_10.01\src\main\java
[delete] Deleting: C:\MyWorkspaces\EnterpriseServicesPlatform\trunk\com.ideatoceo.billing.payment.PaymentServiceBase-TRUNK\AdapterImpl_10.01\src\main\resources\PaymentService.wsdl
[copy] Copying 1 file to C:\MyWorkspaces\EnterpriseServicesPlatform\trunk\com.ideatoceo.billing.payment.PaymentServiceBase-TRUNK\AdapterImpl_10.01\src\main\java\com\ideatoceo\billing\payment\v1001\service
[echo] wsdlc-service-adapter complete.
[INFO] Executed tasks
[INFO] [service-adapter:generate {execution: generate}]
[INFO] The file C:\MyWorkspaces\EnterpriseServicesPlatform\trunk\com.ideatoceo.billing.payment.PaymentServiceBase-TRUNK\AdapterImpl_10.01\src\main\java\com\ideatoceo\billing\payment\v1001\service\PaymentServiceAdapterImpl.java already exists. Don't generate it, remove the file first if you want to generate it.
[INFO] The file C:\MyWorkspaces\EnterpriseServicesPlatform\trunk\com.ideatoceo.billing.payment.PaymentServiceBase-TRUNK\AdapterImpl_10.01\src\main\java\com\ideatoceo\billing\payment\v1001\service\jws\PaymentWS.java already exists. Don't generate it, remove the file first if you want to generate it.
[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 4 resources
[INFO] [compiler:compile]
[INFO] Compiling 35 source files to C:\MyWorkspaces\EnterpriseServicesPlatform\trunk\com.ideatoceo.billing.payment.PaymentServiceBase-TRUNK\AdapterImpl_10.01\target\classes
[INFO] [resources:testResources]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] [compiler:testCompile]
[INFO] Compiling 1 source file to C:\MyWorkspaces\EnterpriseServicesPlatform\trunk\com.ideatoceo.billing.payment.PaymentServiceBase-TRUNK\AdapterImpl_10.01\target\test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: C:\MyWorkspaces\EnterpriseServicesPlatform\trunk\com.ideatoceo.billing.payment.PaymentServiceBase-TRUNK\AdapterImpl_10.01\target\surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.ideatoceo.billing.payment.v1001.service.DozerMappingTest
log4j:WARN No appenders could be found for logger (com.ideatoceo.billing.payment.v1001.service.DozerMappingTest).
log4j:WARN Please initialize the log4j system properly.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.453 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO] [war:war]
[INFO] Packaging webapp
[INFO] Assembling webapp[PaymentAdapter_v1001Impl] in [C:\MyWorkspaces\EnterpriseServicesPlatform\trunk\com.ideatoceo.billing.payment.PaymentServiceBase-TRUNK\AdapterImpl_10.01\target\PaymentAdapter_v1001Impl-10.01-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources[C:\MyWorkspaces\EnterpriseServicesPlatform\trunk\com.ideatoceo.billing.payment.PaymentServiceBase-TRUNK\AdapterImpl_10.01\src\main\webapp]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Could not copy webapp classes[C:\MyWorkspaces\EnterpriseServicesPlatform\trunk\com.ideatoceo.billing.payment.PaymentServiceBase-TRUNK\AdapterImpl_10.01\target\classes]

Embedded error: Failed to copy full contents from C:\MyWorkspaces\EnterpriseServicesPlatform\trunk\com.ideatoceo.billing.payment.PaymentServiceBase-TRUNK\AdapterImpl_10.01\target\classes\com\ideatoceo\billing\payment\v1001\types\ModifyPaymentInstrumentResponse.class to C:\MyWorkspaces\EnterpriseServicesPlatform\trunk\com.ideatoceo.billing.payment.PaymentServiceBase-TRUNK\AdapterImpl_10.01\target\PaymentAdapter_v1001Impl-10.01-SNAPSHOT\WEB-INF\classes\com\ideatoceo\billing\payment\v1001\types\ModifyPaymentInstrumentResponse.class
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 41 seconds
[INFO] Finished at: Tue Feb 09 23:10:14 EST 2010
[INFO] Final Memory: 42M/64M
[INFO] ------------------------------------------------------------------------
 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try to "uncheck" the "Resolve Workspace Artifacts" checkbox in the maven run configuration under eclipse (assuming that you use the maven eclipse plugin)
 
M sallu
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using RSA which is nothing but eclipse. So where can I find that check box "Resolve unchecked artifacts"?, under windows --> preferences?

Could you guide me through the menu?
 
He's giving us the slip! Quick! Grab this tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic