GWT 2.4 샘플 응용 프로그램 "MobileWebApp"을 실행하려고합니다. 이클립스를 통해 dev 모드에서 앱을 실행하려고하면 500 개의 "영역 없음"오류가 발생합니다."HTTP 오류 : 500 영역 없음"GWT의 "MobileWebApp"샘플 실행 중
본인은 인증 문제임을 이해합니다.
저는 Google App Engine이나 Jetty에 익숙하지 않지만 web.xml을 보면서 appengine UserService를 사용하여 인증을 위해 사용자를 Google로 리디렉션하는 서블릿 필터를 볼 수 있습니다.
내가 사용하고 있습니다 :
- 이클립스 3.7 (인디고 SR1)
- Google 플러그인
- 이클립스 2.4 m2eclipse에
을 나는 web.xml 파일에서 발췌 한 내용을 포함하고 있습니다 이하. 다른 정보가이 문제를 진단하는 데 도움이 될지 모르겠습니다. 어떤 도움이되는 조언을
[WARN] Request /MobileWebApp.html failed - no realm
[ERROR] 500 - GET /MobileWebApp.html?gwt.codesvr=127.0.0.1:9997 (127.0.0.1) 1401 bytes
Request headers
Host: 127.0.0.1:8888
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: keep-alive
Response headers
Content-Type: text/html; charset=iso-8859-1
Content-Length: 1401
많은 감사 :
다음<security-constraint>
<display-name>
Redirect to the login page if needed before showing
the host html page.
</display-name>
<web-resource-collection>
<web-resource-name>Login required</web-resource-name>
<url-pattern>/MobileWebApp.html</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>*</role-name>
</auth-constraint>
</security-constraint>
<filter>
<filter-name>GaeAuthFilter</filter-name>
<!--
This filter demonstrates making GAE authentication
services visible to a RequestFactory client.
-->
<filter-class>com.google.gwt.sample.gaerequest.server.GaeAuthFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>GaeAuthFilter</filter-name>
<url-pattern>/gwtRequest/*</url-pattern>
</filter-mapping>
는 Eclipse 콘솔의 출력입니다!
11/11/11 수정 :이 문제와 관련이 있기 때문에 제티 태그를 추가했습니다.
우리는 AppEngine없이 똑같은 것을 가지고 있습니다 : 단지'를 가짐으로써 우리에게 '영역 없음'오류 500이 발생한다는 것을 알아 두십시오. 이 특정 상황에 대한 조언이 있습니까? –