0 Replies Latest reply on Sep 5, 2006 9:20 PM by Anthony Kong

    run build.sh in Opensolaris and get compilation error

    Anthony Kong Newbie

      Hi, all,

      Any suggestion is appreciated. I have downloaded jboss-4.0.4.GA-src.tar.gz to an opensolaris box and tried to run build.sh

      This is what I got:

      ====

      [execmodules] /export/home/jboss/jboss-4.0.4.GA-src/common/src/main/org/jboss/xb/binding/sunday/unmarshalling/TypeBinding.java:370:
      cannot find symbol
      [execmodules] symbol : class SchemaBindingResolver
      [execmodules] location: class
      org.jboss.xb.binding.sunday.unmarshalling.TypeBinding
      [execmodules] public SchemaBindingResolver getSchemaResolver()
      [execmodules] ^
      [execmodules] /export/home/jboss/jboss-4.0.4.GA-src/common/src/main/org/jboss/xb/binding/sunday/unmarshalling/TypeBinding.java:375:
      cannot find symbol
      [execmodules] symbol : class SchemaBindingResolver
      [execmodules] location: class
      org.jboss.xb.binding.sunday.unmarshalling.TypeBinding
      [execmodules] public void setSchemaResolver(SchemaBindingResolver
      schemaResolver)
      [execmodules] ^
      [execmodules] /export/home/jboss/jboss-4.0.4.GA-src/common/src/main/org/jboss/xb/binding/metadata/unmarshalling/NamespaceBinding.java:36:
      cannot find symbol
      [execmodules] symbol : class TopElementBinding
      [execmodules] location: interface
      org.jboss.xb.binding.metadata.unmarshalling.NamespaceBinding
      [execmodules] TopElementBinding getTopElement(String elementName);
      [execmodules] ^
      [execmodules] /export/home/jboss/jboss-4.0.4.GA-src/common/src/main/org/jboss/xb/binding/UnmarshallerImpl.java:29:
      cannot find symbol
      [execmodules] symbol : class DocumentBindingFactory
      [execmodules] location: package org.jboss.xb.binding.metadata.unmarshalling
      [execmodules] import
      org.jboss.xb.binding.metadata.unmarshalling.DocumentBindingFactory;
      [execmodules] ^
      [execmodules] /export/home/jboss/jboss-4.0.4.GA-src/common/src/main/org/jboss/xb/binding/UnmarshallerImpl.java:30:
      cannot find symbol
      [execmodules] symbol : class DocumentBindingStack
      [execmodules] location: package org.jboss.xb.binding.metadata.unmarshalling
      [execmodules] import
      org.jboss.xb.binding.metadata.unmarshalling.DocumentBindingStack;
      [execmodules] ^
      [execmodules] /export/home/jboss/jboss-4.0.4.GA-src/common/src/main/org/jboss/xb/binding/UnmarshallerImpl.java:31:
      cannot find symbol
      [execmodules] symbol : class RuntimeDocumentBinding
      [execmodules] location: package org.jboss.xb.binding.metadata.unmarshalling.impl
      [execmodules] import
      org.jboss.xb.binding.metadata.unmarshalling.impl.RuntimeDocumentBinding;
      [execmodules] ^
      [execmodules] /export/home/jboss/jboss-4.0.4.GA-src/common/src/main/org/jboss/xb/binding/UnmarshallerImpl.java:35:
      cannot find symbol
      [execmodules] symbol : class SundayContentHandler
      [execmodules] location: package org.jboss.xb.binding.sunday.unmarshalling
      [execmodules] import
      org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler;
      [execmodules] ^
      [execmodules] /export/home/jboss/jboss-4.0.4.GA-src/common/src/main/org/jboss/xb/binding/UnmarshallerImpl.java:36:
      cannot find symbol
      [execmodules] symbol : class SchemaBindingResolver
      [execmodules] location: package org.jboss.xb.binding.sunday.unmarshalling
      [execmodules] import
      org.jboss.xb.binding.sunday.unmarshalling.SchemaBindingResolver;
      [execmodules] ^
      [execmodules] /export/home/jboss/jboss-4.0.4.GA-src/common/src/main/org/jboss/xb/binding/UnmarshallerImpl.java:139:
      cannot find symbol
      [execmodules] symbol : class SchemaBindingResolver
      [execmodules] location: class org.jboss.xb.binding.UnmarshallerImpl
      [execmodules] public Object unmarshal(String xml,
      SchemaBindingResolver schemaResolver) throws JBossXBException
      [execmodules] ^
      [execmodules] /export/home/jboss/jboss-4.0.4.GA-src/common/src/main/org/jboss/xb/binding/UnmarshallerImpl.java:139:
      unmarshal(java.lang.String,org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding)
      is already defined in org.jboss.xb.binding.UnmarshallerImpl
      [execmodules] public Object unmarshal(String xml,
      SchemaBindingResolver schemaResolver) throws JBossXBException
      [execmodules] ^
      [execmodules] /export/home/jboss/jboss-4.0.4.GA-src/common/src/main/org/jboss/xb/binding/UnmarshallerImpl.java:146:
      cannot find symbol
      ====

      I am using

      bash-3.00$ java -version
      java version "1.5.0_06"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
      Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)