Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Failed to build Standalone Job

Hello dear all,

 

Since I replaced my computer, I am now unable to build any jobs from Talend. This is the relevant logged part of the error:

[WARNING] The requested profile "packaging-and-assembly" could not be activated because it does not exist.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5.5:single (default) on project CRM: Error reading assemblies: Error locating assembly descriptor: C:\Projects\.Java/src/main/assemblies/assembly_CRM_@JobVersion@.xml
[ERROR] 
[ERROR] [1] [INFO] Searching for file location: C:\Projects\.Java\C:\Projects\.Java\src\main\assemblies\assembly_CRM_@JobVersion@.xml
[ERROR] 
[ERROR] [2] [INFO] File: C:\Projects\.Java\C:\Projects\.Java\src\main\assemblies\assembly_CRM_@JobVersion@.xml does not exist.
[ERROR] 
[ERROR] [3] [INFO] File: C:\Projects\.Java\src\main\assemblies\assembly_CRM_@JobVersion@.xml does not exist.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :CRM

Now, the funny thing is: it's not finding the "assembly_CRM_@JobVersion@.xml" file. I have a file named assembly_CRM_2.0.xml tho. If I copy that file as assembly_CRM_@JobVersion@.xml, it works.

 

Any ideas?

 

Thanks!

-Helvio

Labels (2)
24 Replies
Anonymous
Not applicable
Author

Hello rajr,

Could you please indicate what's talend build version you are using? Is there any more error message in log? Which is located in <Talend Studio installation path>/workspace/.metadata/.log  

Best regards

Sabrina

Vinlogs
Creator
Creator

Hi xdshi,

I have the same error as rajr has, please find the error message and log file and help me if with  your inputs, I really appreciate your time and patience in helping the Talend Community.


RDL_JobExecutionError.JPG
Vinlogs
Creator
Creator

Attached the log file for my above post here, now. Thanks!


lastGenerated.log
Anonymous
Not applicable
Author

Hi Vineet,

Are you using oracle Java 8 and set your java environment correctly? Does this issue repro on a specific job or all jobs?

Best regards

Sa

 

Vinlogs
Creator
Creator

Hi Sabrina,

Thanks for your kind reply, Yes, I am using oracle Java 8 and have set my
java environment correctly as you mentioned in your above comments, this
issue is repeated on all jobs when run on remote server.

Thanks,
Vineet
Anonymous
Not applicable
Author

Build version 6.4.1.

Anonymous
Not applicable
Author

Hello Sabrina,

 

I have java setup defined as you described but still getting same error.

 

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] LOCAL_PROJECT Codes Master ........................ SUCCESS [  0.000 s]
[INFO] LOCAL_PROJECT Routines ............................ SKIPPED
[INFO] LOCAL_PROJECT rps_soufund_h (Job Designs) ......... FAILURE [ 13.553 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.836 s (Wall Clock)
[INFO] Finished at: 2017-11-28T18:18:49-06:00
[INFO] Final Memory: 13M/245M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5.5:single (default) on project rps_soufund_h: Failed to create assembly: Error adding file 'org.talend.code.local_project:routines:jar:6.4.1' to archive: C:\Bigdata\tws\.Java\target\classes isn't a file. ->

Anonymous
Not applicable
Author

Hello Vineet,

Are you able to run your jobs successfully in studio? Could you please try to re-intall your studio to see if it works?

Best regards

Sabrina

Anonymous
Not applicable
Author

I have reinstalled and tried but no luck.

Anonymous
Not applicable
Author

I'm using MapR and all variables were set as per instructions.

 

c:\>java -version
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)

 

c:\>hadoop version
Hadoop 2.7.0-mapr-1602
Subversion git@github.com:mapr/private-hadoop-common -r 8721a9eb8380a95b35f9968a273bf5271d522265
Compiled by mapr on 2016-02-19T00:49Z
Compiled with protoc 2.5.0
From source with checksum ed2cf343bd8bacea8c6a683f254e
This command was run using /C:/opt/mapr/hadoop/hadoop-2.7.0/share/hadoop/common/hadoop-common-2.7.0-mapr-1602.jar