在ubuntu 12上,我试图运行fuse-jna的示例程序.我收到以下错误消息
syed@ubuntu:~/Downloads/fuse-jna-master/examples$ ./hellofs.sh ~/hellofs
:compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Cannot find System Java Compiler. Ensure that you have installed a JDK (not just a JRE) and configured your JAVA_HOME system variable to point to the according directory.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Run Code Online (Sandbox Code Playgroud)
运行java -version命令显示我:
syed@ubuntu:~/Downloads/fuse-jna-master/examples$ …Run Code Online (Sandbox Code Playgroud) 我正在尝试运行 fuse-jna ( https://github.com/EtiennePerot/fuse-jna ) 的示例文件系统。但它要求我安装 gradle
syed@ubuntu:~/Downloads/fuse-jna-master/examples$ ./hellofs.sh ~/hellofs
gradle not found in $PATH. Please install gradle.
Run Code Online (Sandbox Code Playgroud)
我有 ubuntu 12,我尝试通过安装 Gradle,sudo apt-get install gradle但出现错误
E: Unable to locate package gradle
syed@ubuntu:~/Downloads/fuse-jna-master/examples$ sudo apt-get install gradle
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gradle
Run Code Online (Sandbox Code Playgroud)
请指导我如何解决问题
我已经使用 WildFly 18(jdk-13.0.1)在 eclipse 中编写了我的第一个 JSF hello world 程序。,Windows 10。
Wildfly 主页和管理控制台工作正常,但从 url 执行程序时http://localhost:8080/jsf1/faces/WEB-INF/helloworld.xhtml出现404 - Not Found错误。我在 url 上遇到同样的错误http://localhost:8080/jsf1
这是 web.xml 文件
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd" id="WebApp_ID" version="4.0">
<display-name>jsf1</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
</web-app>
Run Code Online (Sandbox Code Playgroud)
下面是 Wildfly 服务器日志
2020-01-06 10:59:19,677 INFO [org.jboss.as.patching] (MSC service thread 1-2) WFLYPAT0050: WildFly Full cumulative patch ID is: base, one-off patches include: …Run Code Online (Sandbox Code Playgroud) 我的问题是在开发本体时是否必须遵循任何本体方法?
按照我的理解:
请逐点评论/指导我。谢谢。
ubuntu ×2
filesystems ×1
fuse ×1
gradle ×1
java ×1
jboss ×1
jsf ×1
methodology ×1
ontology ×1
openjdk ×1
owl ×1
semantic-web ×1
wildfly ×1