question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NoClassDefFoundError: Could not initialize class com.squareup.sqldelight.SqliteLexer

See original GitHub issue

gradle-2.13/bin/gradle :Foo:generateDebugSqlDelightInterface --stacktrace

Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.squareup.sqldelight.SqliteLexer
    at com.squareup.sqldelight.gradle.SqlDelightTask.parseThen(SqlDelightTask.kt:107)
    at com.squareup.sqldelight.gradle.SqlDelightTask.execute(SqlDelightTask.kt:58)
    at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
    at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:245)
    at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:221)
    at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory.java:232)
    at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:210)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
JakeWhartoncommented, Jun 3, 2016

It’s not a big deal because unfortunately there’s really nothing we can do about it. With any luck 2.2 will stabilize over the next few weeks and be released which will make the ordering stuff and dependency substitution gymnastics completely irrelevant.

On Fri, Jun 3, 2016 at 2:20 PM Eric Denman notifications@github.com wrote:

Pretty sure I did. I’ll try to put together a sample project to repro this weekend.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/square/sqldelight/issues/306#issuecomment-223654434, or mute the thread https://github.com/notifications/unsubscribe/AAEEEcQL8fjU6sm-ecfb5ZgiOjXlmukYks5qIHBagaJpZM4IsGn9 .

0reactions
AlecStrongcommented, Jul 2, 2016

Closing this. looks identical to the other antlr dependency bugs so I’m going to assume thats what this was

Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not initialize class com.squareup.sqldelight.SqliteLexer ...
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.squareup.sqldelight.SqliteLexer at com.squareup.sqldelight.gradle.
Read more >
Could not resolve com.squareup.sqldelight:runtime:1.1.3
I was solved this problem. First: Apply sqldelight plugin right to all project: apply plugin: 'com.squareup.sqldelight' sqldelight ...
Read more >
ERROR: java.lang.NoClassDefFoundError: Could not
Hi team I am getting this below mentioned error while storing date into hive from hdfs... here's the complete - 183542.
Read more >
Getting started on Kotlin JS with SQLDelight
First apply the gradle plugin in your project. ... Put your SQL statements in a .sq file under src/main/sqldelight . Typically the first...
Read more >
Intro to SQLDelight - LogRocket Blog
Learn how to use the SQLDelight library, which provides Kotlin and Java APIs to reason about CRUD operations with compile-time validation.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found