Java에서 vaadin
프레임 워크를 사용합니다. addComonent
에서 Window(window.addComponent())
까지 사용하면 프로그램에 addComponent
메서드가 표시되지 않습니다. 문제가 무엇입니까?Java Vaadin IntelliJ Idea
답변
프로젝트 구조 설정 (라이브러리 탭)을 통해 JAR을 포함시켜보십시오. 이 단계를 통해 IDEA를 사용하여 Vaadin을 설정하는 방법을 단계별 가이드로 확인하는 데 도움이되지 않는 경우 :
1) Download the Vaadin JAR
2) If not already done, install a Tomcat server
3) Start IntelliJ and create new project from scratch (all steps below are performed with IntelliJ 9)
4) Type of project is Java Module and as desired technology you select Web Application. This will create the web folder, including the WEB-INF dir and a web.xml file
5) Create a web/WEB-INF/lib folder and place the Vaadin JAR into that folder
6) Goto Project Structure | Modules and let your module depend on the Vaadin JAR. Mark it as export
7) Create a HelloWorld class and adjust your web.xml file, as described in the book of Vaadin
8) To run/debug, create a new "Tomcat Server" configuration. If not yet present, configure a Tomcat server by providing the link to the installation dir of your Tomcat server
이 단계가 도움이되지 않으면 웹 브라우저에서 – user2492630
과 같은 오류가 발생합니다. HTTP 상태 500 - java.lang.NoSuchMethodError : com.vaadin.ui.Window.setContent (Lcom/vaadin/ui/Component)) V – user2492630
setContent가 정의되었습니다. 이렇게 : setContent (Component content) .. "Lcom/vaadin/ui/Component;"를 설정하려고하는 이유는 무엇입니까? setContent 메서드의 구성 요소로? 예를 들어 세미콜론은 무엇입니까? "V"가 무엇입니까? – Dropout
- 1. Java (IntelliJ IDEA 또는 Eclipse)
- 2. IntelliJ IDEA 안드로이드가 느림
- 3. Java 저장을위한 Intellij IDEA 플러그인 -> HTML?
- 4. Intellij IDEA 2016.1.3 JAVA 문이 삭제되었습니다.
- 5. Java IntelliJ IDEA Serialization UnusedDeclaration 검사 오류
- 6. Java (IntelliJ Idea) - import class fail
- 7. IntelliJ Idea의 Vaadin Plugin
- 8. IntelliJ IDEA grad 프로젝트 설정
- 9. 어떻게하게 IntelliJ IDEA (11) 안드로이드 프로젝트에서하게 IntelliJ IDEA 11
- 10. Intellij Idea Ultimate 또는 Intellij Idea + PyCharm 및 Android Studio
- 11. IntelliJ IDEA 스크립팅
- 12. IntelliJ IDEA 구조용 교체
- 13. IDEA intellij 문자 지원
- 14. . idea 파일 in intellij
- 15. IntelliJ Idea 12에서 디버깅
- 16. IntelliJ IDEA 구조 검색
- 17. IntelliJ IDEA - 구현이 없습니다.
- 18. IntelliJ 11에서 IDEA
- 19. 마커가있는 Intellij IDEA 플러그인
- 20. 는하게 IntelliJ IDEA
- 21. android.Activity class intellij IDEA
- 22. Intellij IDEA + FTP?
- 23. IntelliJ IDEA 시작하기
- 24. IntelliJ IDEA 12+
- 25. JDeveloper와 IntelliJ IDEA
- 26. IntelliJ IDEA v12의 경고
- 27. Fitnesse에 IntelliJ IDEA 디버거를 연결하십시오.
- 28. Intellij IDEA 12. 리소스 업데이트
- 29. Intellij IDEA 역방향 분석 제한
- 30. intellij idea UNDERSCOREJS/EJS formatter
Alt + Enter를 누르면 나타나는 옵션은 무엇입니까? 또한 빨간색 텍스트 위로 마우스를 가져 가면 어떤 메시지가 표시됩니까? – Dropout
빨간색 텍스트가 없습니다. 아무런 문제없이, Tomcat 서버에서 프로그램을 실행할 때 java.lang.NoShuchMethodError : com.vaadin.ui.Window.setContent (Lcom/vaadin/ui/Component;))와 같은 오류가 발생했습니다 – user2492630
아래 답변. Btw,이 http://plugins.jetbrains.com/plugin/?idea&id=6727을 사용하고 있습니까? – Dropout