[ https://issues.apache.org/jira/browse/BEAM-8820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17122484#comment-17122484 ]
Beam JIRA Bot commented on BEAM-8820: ------------------------------------- This issue is P2 but has been unassigned without any comment for 60 days so it has been labeled "stale-P2". If this issue is still affecting you, we care! Please comment and remove the label. Otherwise, in 14 days the issue will be moved to P3. Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed explanation of what these priorities mean. > DoFnAndMainOutput not available in beam 2.16.0 > ---------------------------------------------- > > Key: BEAM-8820 > URL: https://issues.apache.org/jira/browse/BEAM-8820 > Project: Beam > Issue Type: Bug > Components: sdk-java-core > Reporter: uday > Priority: P2 > Labels: stale-P2 > > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/beam/sdk/util/DoFnAndMainOutputException in thread "main" > java.lang.NoClassDefFoundError: org/apache/beam/sdk/util/DoFnAndMainOutput at > org.apache.beam.repackaged.beam_runners_direct_java.runners.core.construction.ParDoTranslation.translateDoFn(ParDoTranslation.java:462) > at > org.apache.beam.repackaged.beam_runners_direct_java.runners.core.construction.ParDoTranslation$1.translateDoFn(ParDoTranslation.java:160) > at > org.apache.beam.repackaged.beam_runners_direct_java.runners.core.construction.ParDoTranslation.payloadForParDoLike(ParDoTranslation.java:695) > at > org.apache.beam.repackaged.beam_runners_direct_java.runners.core.construction.ParDoTranslation.translateParDo(ParDoTranslation.java:156) > at > org.apache.beam.repackaged.beam_runners_direct_java.runners.core.construction.ParDoTranslation$ParDoPayloadTranslator.translate(ParDoTranslation.java:111) > at > org.apache.beam.repackaged.beam_runners_direct_java.runners.core.construction.PTransformTranslation.toProto(PTransformTranslation.java:206) > at > org.apache.beam.repackaged.beam_runners_direct_java.runners.core.construction.ParDoTranslation.getParDoPayload(ParDoTranslation.java:547) > at > org.apache.beam.repackaged.beam_runners_direct_java.runners.core.construction.ParDoTranslation.isSplittable(ParDoTranslation.java:557) > at > org.apache.beam.repackaged.beam_runners_direct_java.runners.core.construction.PTransformMatchers$4.matches(PTransformMatchers.java:194) > at org.apache.beam.sdk.Pipeline$2.visitPrimitiveTransform(Pipeline.java:282) > at > org.apache.beam.sdk.runners.TransformHierarchy$Node.visit(TransformHierarchy.java:665) > at > org.apache.beam.sdk.runners.TransformHierarchy$Node.visit(TransformHierarchy.java:657) > at > org.apache.beam.sdk.runners.TransformHierarchy$Node.visit(TransformHierarchy.java:657) > at > org.apache.beam.sdk.runners.TransformHierarchy$Node.access$600(TransformHierarchy.java:317) > at > org.apache.beam.sdk.runners.TransformHierarchy.visit(TransformHierarchy.java:251) > at org.apache.beam.sdk.Pipeline.traverseTopologically(Pipeline.java:460) at > org.apache.beam.sdk.Pipeline.replace(Pipeline.java:260) at > org.apache.beam.sdk.Pipeline.replaceAll(Pipeline.java:210) at > org.apache.beam.runners.direct.DirectRunner.run(DirectRunner.java:170) at > org.apache.beam.runners.direct.DirectRunner.run(DirectRunner.java:66) at > org.apache.beam.sdk.Pipeline.run(Pipeline.java:315) at > org.apache.beam.sdk.Pipeline.run(Pipeline.java:301) at > adefficiency.StarterPipeline.main(StarterPipeline.java:112)Caused by: > java.lang.ClassNotFoundException: org.apache.beam.sdk.util.DoFnAndMainOutput > at java.net.URLClassLoader.findClass(Unknown Source) at > java.lang.ClassLoader.loadClass(Unknown Source) at > sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at > java.lang.ClassLoader.loadClass(Unknown Source) ... 23 more -- This message was sent by Atlassian Jira (v8.3.4#803005)