7 Replies Latest reply: Jun 18, 2013 4:16 PM by jieshengz RSS

    can not create glassfish server runtime

    jieshengz

      I has this error when creating a 4.0 server runtime "There is no valid GlassFish runtime in specified directory" with Glassfish 4.0 installation. However, there is no error with glassfish-4.0-b83-ml.zip.

       

       

      I saw this error in eclipse log

       

      org.eclipse.jdt.internal.compiler.problem.AbortCompilation: Pb(324) The type javax.faces.component.behavior.ClientBehaviorHolder cannot be resolved. It is indirectly referenced from required .class files

          at org.eclipse.jdt.internal.compiler.problem.ProblemHandler.handle(ProblemHandler.java:135)

          at org.eclipse.jdt.internal.compiler.problem.ProblemHandler.handle(ProblemHandler.java:201)

          at org.eclipse.jdt.internal.compiler.problem.ProblemReporter.handle(ProblemReporter.java:2132)

          at org.eclipse.jdt.internal.compiler.problem.ProblemReporter.isClassPathCorrect(ProblemReporter.java:4162)

          at org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding.resolve(UnresolvedReferenceBinding.java:59)

          at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.resolveType(BinaryTypeBinding.java:131)

          at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.superInterfaces(BinaryTypeBinding.java:1354)

          at org.eclipse.jdt.core.dom.TypeBinding.getInterfaces(TypeBinding.java:471)

          at org.eclipse.jpt.common.core.internal.resource.java.source.SourceAttribute.addInterfaceNamesTo(SourceAttribute.java:346)

          at org.eclipse.jpt.common.core.internal.resource.java.source.SourceAttribute.buildTypeInterfaceNames(SourceAttribute.java:339)

          at org.eclipse.jpt.common.core.internal.resource.java.source.SourceAttribute.synchronizeWith(SourceAttribute.java:110)

          at org.eclipse.jpt.common.core.internal.resource.java.source.SourceField.synchronizeWith(SourceField.java:73)

          at org.eclipse.jpt.common.core.internal.resource.java.source.SourceAnnotatedElement.synchronizeWith(SourceAnnotatedElement.java:161)

          at org.eclipse.jpt.common.core.internal.resource.java.source.SourceType.syncFields(SourceType.java:492)

          at org.eclipse.jpt.common.core.internal.resource.java.source.SourceType.synchronizeWith(SourceType.java:141)

          at org.eclipse.jpt.common.core.internal.resource.java.source.SourceTypeCompilationUnit.syncPrimaryType(SourceTypeCompilationUnit.java:120)

          at org.eclipse.jpt.common.core.internal.resource.java.source.SourceTypeCompilationUnit.synchronizeWith(SourceTypeCompilationUnit.java:68)

          at org.eclipse.jpt.common.core.internal.resource.java.source.SourceCompilationUnit.synchronizeWithJavaSource(SourceCompilationUnit.java:157)

          at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.synchronizeWithJavaSource(AbstractJpaProject.java:1395)

          at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.rebuild(AbstractJpaProject.java:1334)

          at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.processJavaProjectDelta(AbstractJpaProject.java:1320)

          at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.processJavaDelta(AbstractJpaProject.java:1270)

          at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.processJavaDeltaChildren(AbstractJpaProject.java:1288)

          at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.processJavaModelDelta(AbstractJpaProject.java:1310)

          at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.processJavaDelta(AbstractJpaProject.java:1267)

          at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.javaElementChanged(AbstractJpaProject.java:1252)

          at org.eclipse.jpt.jpa.core.internal.InternalJpaProjectManager.javaElementChanged_(InternalJpaProjectManager.java:803)

          at org.eclipse.jpt.jpa.core.internal.InternalJpaProjectManager$JavaChangeEventHandlerCommand.execute(InternalJpaProjectManager.java:790)

          at org.eclipse.jpt.common.core.internal.utility.command.JobCommandJob.run(JobCommandJob.java:42)

          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

       

       

      Please help