Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1252

org/antlr/runtime/CharStream error on Jetty

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 5.2.1
    • Fix Version/s: None
    • Component/s: quickstart
    • Labels:
      None

      Description

      When creating a maven archetype quickstart project using Netbeans, and running the built project though the command line using mvn jetty:run, this leads to an error after the first request:

      SessionApplicationStatePersistenceStrategy: DEFINED
      SessionPersistedObjectAnalyzer: DEFINED
      StrategyBuilder: VIRTUAL
      StringInterner: DEFINED
      SymbolBindingFactory: DEFINED
      SymbolSource: REAL
      TemplateParser: DEFINED
      ThreadLocale: VIRTUAL
      ThunkCreator: DEFINED
      TimingFilter: DEFINED
      TranslateBindingFactory: DEFINED
      TranslatorAlternatesSource: DEFINED
      TranslatorSource: DEFINED
      TypeCoercer: REAL
      URLEncoder: DEFINED
      URLRewriter: DEFINED
      UpdateListenerHub: REAL
      ValidateBindingFactory: DEFINED
      ValidationConstraintGenerator: DEFINED
      ValidationMessagesSource: DEFINED
      ValidatorMacro: DEFINED
      ValueEncoderSource: DEFINED

      85.08% unrealized services (154/181)

      [INFO] Started Jetty Server
      [ERROR] ioc.Registry org/antlr/runtime/CharStream
      [ERROR] ioc.Registry Operations trace:
      [ERROR] ioc.Registry [ 1] Constructing instance of page class tm.fb.pages.Index
      [ERROR] ioc.Registry [ 2] Assembling root component for page Index
      [ERROR] ioc.Registry [ 3] Assembling component Index:layout (tm.fb.components.La
      yout)
      [ERROR] ioc.Registry [ 4] Realizing service PropertyConduitSource
      [ERROR] ioc.Registry [ 5] Invoking org.apache.tapestry5.services.TapestryModule.
      buildPropertyConduitSource(PropertyConduitSourceImpl, InvalidationEventHub) (at
      TapestryModule.java:1597)
      [ERROR] ioc.Registry [ 6] Determining injection value for parameter #1 (org.apac
      he.tapestry5.internal.services.PropertyConduitSourceImpl)
      [ERROR] ioc.Registry [ 7] Resolving object of type org.apache.tapestry5.internal
      .services.PropertyConduitSourceImpl using MasterObjectProvider
      [ERROR] ioc.Registry [ 8] Autobuilding instance of org.apache.tapestry5.internal
      .services.PropertyConduitSourceImpl
      [ERROR] TapestryModule.RequestExceptionHandler Processing of request failed with
      uncaught exception: org/antlr/runtime/CharStream
      java.lang.NoClassDefFoundError: org/antlr/runtime/CharStream
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
      at java.lang.Class.getConstructors(Class.java:1459)
      at org.apache.tapestry5.ioc.internal.util.InternalUtils.findAutobuildCon
      structor(InternalUtils.java:669)
      at org.apache.tapestry5.ioc.internal.ServiceResourcesImpl$4.invoke(Servi
      ceResourcesImpl.java:150)
      at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(Operati
      onTrackerImpl.java:65)
      at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(Pe
      rThreadOperationTracker.java:68)
      at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.ja
      va:1057)
      at org.apache.tapestry5.ioc.internal.ServiceResourcesImpl.autobuild(Serv
      iceResourcesImpl.java:146)
      at org.apache.tapestry5.ioc.internal.services.AutobuildObjectProvider.pr
      ovide(AutobuildObjectProvider.java:34)
      at org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl$1
      .invoke(MasterObjectProviderImpl.java:48)
      at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(Operati
      onTrackerImpl.java:65)
      at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(Pe
      rThreadOperationTracker.java:68)
      at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.ja
      va:1057)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tmarx78 Tobias Marx
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: