Error Package Org.jcp.xml.dsig.internal.dom Does Not Exist
| Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ maven errors on xml security package Hello, I'm having trouble building with maven. The issue is that it can't find the xml security packages. I'm using the java jdk 1.6_06 which includes the apache xml security package. This builds fine using ant, but we are converting to maven and I can't get this to build with maven. Any help would be appreciated. Here is the error: $ mvn clean install [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building tr69lib [INFO] task-segment: [clean, install] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] Deleting directory c:\Codebase\DocomoIntertouch\Shared\tr69lib\target [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Compiling 124 source files to c:\Codebase\DocomoIntertouch\Shared\tr69lib \target\classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure c:\Codebase\DocomoIntertouch\Shared\tr69lib\src\main\java\com\nomadix\tr69\cpemethods\SetVouchers.java:[4,53] package com.sun.org.apache.xml.internal.security.utils does not exist c:\Codebase\DocomoIntertouch\Shared\tr69lib\src\main\java\com\nomadix\tr69\cpemethods\ISetVouchers.java:[3,53] package com.sun.org.apache.xml.internal.security.utils does not exist c:\Codebase\DocomoIntertouch\Shared\tr69lib\src\main\java\com\nomadix\tr69\cpemethods\SetVouchers.java:[22,16] cannot find symbol symbol : class Base64 location: class com.nomadix.tr69.cpemethods.SetVouchers c:\Codebase\DocomoIntertouch\Shared\tr69lib\src\main\java\com\nomadix\tr69\cpemethods\SetVouchers.java:[33,26] cannot find symbol symbol : class Base64 location: class com.nomadix.tr69.cpemethods.SetVouchers c:\Codebase\DocomoIntertouch\Shared\tr69lib\src\main\java\com\nomadix\tr69\cpemethods\SetVouchers.java:[40,15] cannot find symbol symbol : class Base64 location: class com.nomadix.tr69.cpemethods.SetVouchers c:\Codebase\DocomoIntertouch\Shared\tr69lib\src\main\java\com\nomadix\tr69\cpemethods\ISetVouchers.java:[20,19] cannot find symbol symbol : class Base64 location: interface com.nomadix.tr69.cpemethods.ISetVouchers c:\Codebase\DocomoIntertouch\Shared\tr69lib\src\main\java\com\nomadix\tr69\cpemethods\ISetVouchers.java:[27,8] cannot find symbol symbol : class Base64 location: interface com.nomadix
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. http://maven.40175.n5.nabble.com/maven-errors-on-xml-security-package-td117907.html Join them; it only takes a minute: Sign up add glassfish javax.persistence to gradle project up vote 2 down vote favorite 1 i getting this error % gradle build [ant:javac] Hello.java:2: error: package javax.persistence does not exist Hello.java:2: import javax.persistence.*; what should i add to gradle.build to include /opt/glassfish3/glassfish/modules/javax.persistence.jar thx java gradle java-7 share|improve this question asked Feb http://stackoverflow.com/questions/9271849/add-glassfish-javax-persistence-to-gradle-project 14 '12 at 4:46 T C 133 add a comment| 1 Answer 1 active oldest votes up vote 3 down vote accepted Try adding compile group: 'javax.persistence', name: 'persistence-api', version: '1.0' to your dependencies. share|improve this answer answered Feb 14 '12 at 6:11 jspcal 27.7k34052 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged java gradle java-7 or ask your own question. asked 4 years ago viewed 2474 times active 4 years ago Linked 3 AndroidStudio / gradle cannot find javax.persistence package Related 678Android Studio: Add jar as library?147How to set -source 1.7 in Android Studio and Gradle223How to add local .jar file dependency to build.gradle file?2Gradle project inside Gradle project?3How do I add a project
Notes] [Wiki] [View Advanced] [Issue History] http://travelingsales.sourceforge.net/bugs/view.php?id=168 [Print] ID Category Severity Reproducibility Date Submitted Last Update 0000168 [Traveling Salesman] Route-Finding minor always 2009-10-08 14:33 2009-11-27 06:52 Reporter unauthenticated View Status public Assigned To Marcuswolschon Priority urgent Resolution fixed Status resolved Product Version 1.0.2 Summary 0000168: Package org.jcp.xml.dsig.internal.dom cannot error package be found Description $ cd osmnavigation $ svn update At revision 1335. $ ant Buildfile: build.xml compile: [javac] Compiling 9 source files to /.../osmnavigation/classes [javac] /.../osmnavigation/src/org/openstreetmap/travelingsalesman/trafficblocks/tmc/tmcimport/TMCAdminArea.java:20: package org.jcp.xml.dsig.internal.dom does not exist [javac] import org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer; [javac] ^ [javac] 1 error BUILD FAILED /.../osmnavigation/build.xml:87: Compile failed; see error package org.jcp.xml.dsig.internal.dom the compiler error output for details. Total time: 3 seconds Additional Information Tags No tags attached. map used (e.g. export-coordinates for http://openstreetmap.org) Attached Files Relationships Relationships There are no notes attached to this issue. Notes Issue History Date Modified Username Field Change 2009-10-08 14:33 unauthenticated New Issue 2009-10-15 07:12 Marcuswolschon Status new => assigned 2009-10-15 07:12 Marcuswolschon Assigned To => Marcuswolschon 2009-10-15 07:13 Marcuswolschon Priority normal => urgent 2009-10-15 07:13 Marcuswolschon Resolution open => fixed 2009-10-15 07:13 Marcuswolschon Projection none => tweak 2009-10-15 07:13 Marcuswolschon ETA none => < 1 day 2009-10-15 07:13 Marcuswolschon version => 1.0.2 2009-10-15 07:13 Marcuswolschon Fixed in Version => 1.0.3 2009-10-15 07:13 Marcuswolschon Target Version => 1.0.3 2009-11-27 06:52 Marcuswolschon Status assigned => resolved Issue History Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group