SORMを試している間、このエラーが発生し続けました
ERROR] クラス ファイル 'Logging.class' の読み込み中に、欠落または無効な依存関係が検出されました。パッケージ scala (またはその依存関係) が見つからないため、パッケージ scala の型 ScalaObject にアクセスできませんでした。依存関係の欠落または競合がないか、ビルド定義を確認してください。「Logging.class」が互換性のないバージョンの scala に対してコンパイルされた場合は、完全な再構築が役立つ場合があります。
これは私のpomファイルです(sorm自体で使用されるものから派生)
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>sorm-test</groupId>
<artifactId>sorm</artifactId>
<version>1.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-reflect</artifactId>
<version>[2.10,2.12)</version>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>[2.10,2.12)</version>
</dependency>
<dependency>
<groupId>org.sorm-framework</groupId>
<artifactId>sorm</artifactId>
<version>0.3.8</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.3.168</version>
</dependency>
</dependencies>
<build>
<sourceDirectory>src/main/scala</sourceDirectory>
<plugins>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<recompileMode>incremental</recompileMode>
<useZincServer>true</useZincServer>
</configuration>
<executions>
<execution>
<id>compile</id>
<goals>
<goal>compile</goal>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
複数の scala ライブラリ バージョン ( interval [2.10,2.12) の代わりに) を試しましたが、結果は同じでした。
ありがとう