cuốn sách gpt4 ai đã làm

java - Websphere 应用程序服务器 [警告] CWWKC0044W 和 [警告] CWWKC0022W :

In lại Tác giả: Walker 123 更新时间:2023-11-29 05:22:18 37 4
mua khóa gpt4 Nike

运行 Websphere App 服务器 V8.5 Liberty Profile。我找不到任何可以解决这些警告的帮助。我在 eclipse 。

        ************** Here's my servlet code ************
package com.rocketsoft.zoskmip.kmipuser;

import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
nhập javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Servlet implementation class AddUser
*/
@WebServlet("/user")
public class AddUser extends HttpServlet {
private static final long serialVersionUID = 1L;

public AddUser() {
siêu();
}
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
PrintWriter printWriter = response.getWriter();
printWriter.print("Welcome");
String firstName = request.getParameter("fname");
printWriter.print(firstName);
}
}

********警告***************

[WARNING ] CWWKC0044W: An exception occurred while scanning class and annotation data. The exception was {0}.

[WARNING ] CWWKC0022W: [ com.ibm.ws.anno.info.internal.ClassInfoCache@957735840 ] The scan of class [java.lang.Object] caused an exception. The message is: [Class [ java.lang.Object ] from resource [ java/lang/Object.class ] Exception creating reader] caused by [null].

câu trả lời hay nhất

这些警告看起来很像是您尝试在 Java8 下运行 Liberty Profile。

Liberty profile does not (yet) support Java8 ,据我所知,目前唯一支持的选项是返回到 Java7。

关于java - Websphere 应用程序服务器 [警告] CWWKC0044W 和 [警告] CWWKC0022W :,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24176382/

37 4 0
Chứng chỉ ICP Bắc Kinh số 000000
Hợp tác quảng cáo: 1813099741@qq.com 6ren.com
Xem sitemap của VNExpress