[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project mrlda: Compilation failure: Compilation failure:
[ERROR] /home/panwar/Downloads/Mr.LDA-master/src/main/java/cc/mrlda/polylda/TermReducer.java:[24,11] error: generics are not supported in -source 1.3
[ERROR]
[ERROR] (use -source 5 or higher to enable generics)
[ERROR] /home/panwar/Downloads/Mr.LDA-master/src/main/java/cc/mrlda/TermReducer.java:[33,11] error: generics are not supported in -source 1.3
Run Code Online (Sandbox Code Playgroud)
我正在使用最新版本的java.
解决了:问题出在maven身上.我使用的是旧版本(maven3.0.2)其他东西都是正确的.
我有一个共享库,其中有一些功能。我想通过使用 luajit 获取他们的签名来访问他们。
我有一个 libtest_c.so --> /usr/local/lib
lua --> /usr/local/bin
要求(“test_c”)
标准输入:1:未找到模块“test_c”:
no field package.preload['test_c']
no file './test_c.lua'
no file '/usr/local/share/luajit-2.0.4/test_c.lua'
no file '/usr/local/share/lua/5.1/test_c.lua'
no file '/usr/local/share/lua/5.1/test_c/init.lua'
no file './test_c.so'
no file '/usr/local/lib/lua/5.1/test_c.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
Run Code Online (Sandbox Code Playgroud)
堆栈回溯:[C]:在函数“要求”标准输入:1:在主块 [C]:在 0x00404270