I'm having the exact same issue. I'm on Java version 1.5. I've tried using both the apacheds-core-1.0.0 and 1.0.1 jars to no avail (both contain the 'new' package names: org.apache.directory.server.core.*). As with Trevor, any help would be greatly appreciated.
-Aubrey- Trevor Ryan wrote: > > Hi, > > I've just downloaded the stable version 1.0.1 of apacheDS and I'm trying > to add a new schema (to integrate a uddi server). I am using Java version > 1.6. > > As I'm new to apacheDS and LDAP (and Maven), I'm following the example > in the online advanced user guide at > http://directory.apache.org/apacheds/1.0/custom-schema.html > > All goes fine up to the step labelled "Compiling, and running tests on > the example car.schema". When I tried this, the first compile error I got > was that the generated code used generics (a Java 1.5 feature), but the > compiler was trying to use Java 1.3 source level. > > I found out that I could specify the source and target level in the > pom.xml file, and that got rid of the version problem. However, I then got > lots of compile errors because of two missing packages which the generated > Java code was trying to import. The packages were: > > org.apache.directory.server.schema.bootstrap > org.apache.directory.server.schema.registries > > I don't know where this is coming from. > I looked in the apacheds-core-1.0.1.jar file, and found the package: > > org.apache.directory.server.core.schema.bootstrap > > ...so perhaps the package names have changed, and the maven project for > this example no longer matches the apacheDS libraries. > > Can anybody help with this? > > Regards, > Trevor. > > > > --------------------------------- > Yahoo! Mail is the world's favourite email. Don't settle for less, sign > up for your freeaccount today. > -- View this message in context: http://www.nabble.com/problem-compiling-a-new-schema-for-ApacheDS-tf3653062.html#a10260090 Sent from the Apache Directory Project mailing list archive at Nabble.com.
