- 浏览: 104791 次
- 性别:
- 来自: 长春
文章分类
最新评论
-
chao8796:
吃的真多
方便面烹饪法 -
rmn190:
看下这个类: org.jbpm.web.JbpmThreads ...
Jbpm + Spring 配置
在使用 IntelliJ IDEA 9 以后的版本建立 WEB 程序时,
正常情况下, 在 DEBUG 窗口, 会有三个选项卡, 分别是:
“Debugger”“Server”“Tomcat Log”
但, 偶尔的, 不明原因的情况下, 会丢失“Tomcat Log”选项卡,
无论怎样配置, 都无法出现, 造成调试的不便。
其实, 是可以更改项目的配置文件 workspace.xml 文件, 来重现“Tomcat Log”选项卡。
以下贴出一个正常的 workspace.xml 文件, 对照不同的部分修改后, 重新加载项目即可(IntelliJ 会自动提示)
注意这行配置:
workspace.xml 如下:
正常情况下, 在 DEBUG 窗口, 会有三个选项卡, 分别是:
“Debugger”“Server”“Tomcat Log”
但, 偶尔的, 不明原因的情况下, 会丢失“Tomcat Log”选项卡,
无论怎样配置, 都无法出现, 造成调试的不便。
其实, 是可以更改项目的配置文件 workspace.xml 文件, 来重现“Tomcat Log”选项卡。
以下贴出一个正常的 workspace.xml 文件, 对照不同的部分修改后, 重新加载项目即可(IntelliJ 会自动提示)
注意这行配置:
<predefined_log_file id="TOMCAT_LOCALHOST_LOG_ID" enabled="true" />
workspace.xml 如下:
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="ChangeListManager"> <list default="true" readonly="true" id="96781683-fde7-43df-8f72-538c66b029df" name="Default" comment="" /> <ignored path="webgame.iws" /> <ignored path=".idea/workspace.xml" /> <option name="TRACKING_ENABLED" value="true" /> <option name="SHOW_DIALOG" value="false" /> <option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> <option name="LAST_RESOLUTION" value="IGNORE" /> </component> <component name="ChangesViewManager" flattened_view="true" show_ignored="false" /> <component name="CreatePatchCommitExecutor"> <option name="PATCH_PATH" value="" /> <option name="REVERSE_PATCH" value="false" /> </component> <component name="DaemonCodeAnalyzer"> <disable_hints /> </component> <component name="DebuggerManager"> <breakpoint_any> <breakpoint> <option name="NOTIFY_CAUGHT" value="true" /> <option name="NOTIFY_UNCAUGHT" value="true" /> <option name="ENABLED" value="false" /> <option name="LOG_ENABLED" value="false" /> <option name="LOG_EXPRESSION_ENABLED" value="false" /> <option name="SUSPEND_POLICY" value="SuspendAll" /> <option name="COUNT_FILTER_ENABLED" value="false" /> <option name="COUNT_FILTER" value="0" /> <option name="CONDITION_ENABLED" value="false" /> <option name="CLASS_FILTERS_ENABLED" value="false" /> <option name="INSTANCE_FILTERS_ENABLED" value="false" /> <option name="CONDITION" value="" /> <option name="LOG_MESSAGE" value="" /> </breakpoint> <breakpoint> <option name="NOTIFY_CAUGHT" value="true" /> <option name="NOTIFY_UNCAUGHT" value="true" /> <option name="ENABLED" value="false" /> <option name="LOG_ENABLED" value="false" /> <option name="LOG_EXPRESSION_ENABLED" value="false" /> <option name="SUSPEND_POLICY" value="SuspendAll" /> <option name="COUNT_FILTER_ENABLED" value="false" /> <option name="COUNT_FILTER" value="0" /> <option name="CONDITION_ENABLED" value="false" /> <option name="CLASS_FILTERS_ENABLED" value="false" /> <option name="INSTANCE_FILTERS_ENABLED" value="false" /> <option name="CONDITION" value="" /> <option name="LOG_MESSAGE" value="" /> </breakpoint> </breakpoint_any> <breakpoint_rules /> <ui_properties /> </component> <component name="FavoritesManager"> <favorites_list name="webgame" /> </component> <component name="FileEditorManager"> <leaf> <file leaf-file-name="EngineController.java" pinned="false" current="false" current-in-tab="false"> <entry file="file://$PROJECT_DIR$/src/main/org/kyll/webgame/engine/controller/EngineController.java"> <provider selected="true" editor-type-id="text-editor"> <state line="35" column="44" selection-start="1267" selection-end="1267" vertical-scroll-proportion="0.0"> <folding /> </state> </provider> </entry> </file> <file leaf-file-name="EngineFacade.java" pinned="false" current="false" current-in-tab="false"> <entry file="file://$PROJECT_DIR$/src/main/org/kyll/webgame/engine/facade/EngineFacade.java"> <provider selected="true" editor-type-id="text-editor"> <state line="2" column="17" selection-start="58" selection-end="58" vertical-scroll-proportion="0.0"> <folding /> </state> </provider> </entry> </file> <file leaf-file-name="EngineFacadeImpl.java" pinned="false" current="false" current-in-tab="false"> <entry file="file://$PROJECT_DIR$/src/main/org/kyll/webgame/engine/facade/impl/EngineFacadeImpl.java"> <provider selected="true" editor-type-id="text-editor"> <state line="6" column="13" selection-start="168" selection-end="168" vertical-scroll-proportion="0.0"> <folding /> </state> </provider> </entry> </file> <file leaf-file-name="sqlmap-config.xml" pinned="false" current="false" current-in-tab="false"> <entry file="file://$PROJECT_DIR$/src/config/sqlmap-config.xml"> <provider selected="true" editor-type-id="text-editor"> <state line="21" column="73" selection-start="712" selection-end="712" vertical-scroll-proportion="0.0"> <folding /> </state> </provider> </entry> </file> <file leaf-file-name="Player.xml" pinned="false" current="false" current-in-tab="false"> <entry file="file://$PROJECT_DIR$/src/main/org/kyll/webgame/player/dao/ibatis/sqlmap/Player.xml"> <provider selected="true" editor-type-id="text-editor"> <state line="5" column="25" selection-start="182" selection-end="182" vertical-scroll-proportion="0.0"> <folding /> </state> </provider> </entry> </file> <file leaf-file-name="Scene.xml" pinned="false" current="false" current-in-tab="false"> <entry file="file://$PROJECT_DIR$/src/main/org/kyll/webgame/scene/dao/ibatis/sqlmap/Scene.xml"> <provider selected="true" editor-type-id="text-editor"> <state line="5" column="24" selection-start="181" selection-end="181" vertical-scroll-proportion="0.0"> <folding /> </state> </provider> </entry> </file> <file leaf-file-name="index.jsp" pinned="false" current="false" current-in-tab="false"> <entry file="file://$PROJECT_DIR$/web/index.jsp"> <provider selected="true" editor-type-id="text-editor"> <state line="6" column="26" selection-start="116" selection-end="116" vertical-scroll-proportion="0.0"> <folding /> </state> </provider> </entry> </file> <file leaf-file-name="spring-servlet.xml" pinned="false" current="false" current-in-tab="false"> <entry file="file://$PROJECT_DIR$/web/WEB-INF/spring-servlet.xml"> <provider selected="true" editor-type-id="text-editor"> <state line="8" column="0" selection-start="593" selection-end="593" vertical-scroll-proportion="0.0"> <folding /> </state> </provider> </entry> </file> <file leaf-file-name="spring-context.xml" pinned="false" current="false" current-in-tab="false"> <entry file="file://$PROJECT_DIR$/web/WEB-INF/spring-context.xml"> <provider selected="true" editor-type-id="text-editor"> <state line="27" column="49" selection-start="1621" selection-end="1621" vertical-scroll-proportion="0.0"> <folding> <element signature="tag#prop#0;tag#props#0;tag#property#2;tag#bean#0;tag#beans#0" expanded="true" /> <element signature="tag#prop#1;tag#props#0;tag#property#2;tag#bean#0;tag#beans#0" expanded="true" /> <element signature="tag#prop#2;tag#props#0;tag#property#2;tag#bean#0;tag#beans#0" expanded="true" /> </folding> </state> </provider> </entry> </file> <file leaf-file-name="jdbc.properties" pinned="false" current="true" current-in-tab="true"> <entry file="file://$PROJECT_DIR$/src/config/jdbc.properties"> <provider selected="true" editor-type-id="text-editor"> <state line="4" column="0" selection-start="159" selection-end="159" vertical-scroll-proportion="0.2060606"> <folding /> </state> </provider> </entry> </file> </leaf> </component> <component name="FindManager"> <FindUsagesManager> <setting name="OPEN_NEW_TAB" value="false" /> </FindUsagesManager> </component> <component name="IdeDocumentHistory"> <option name="changedFiles"> <list> <option value="$PROJECT_DIR$/src/main/org/kyll/webgame/business/model/User.java" /> <option value="$PROJECT_DIR$/web/WEB-INF/web.xml" /> <option value="$PROJECT_DIR$/src/main/org/kyll/webgame/engine/facade/EngineFacade.java" /> <option value="$PROJECT_DIR$/web/WEB-INF/spring-context.xml" /> <option value="$PROJECT_DIR$/web/WEB-INF/spring-servlet.xml" /> <option value="$PROJECT_DIR$/src/main/org/kyll/webgame/item/controller/ItemController.java" /> <option value="$PROJECT_DIR$/src/main/org/kyll/webgame/item/dao/ibatis/sqlmap/Item.xml" /> <option value="$PROJECT_DIR$/src/main/org/kyll/webgame/player/dao/ibatis/sqlmap/Player.xml" /> <option value="$PROJECT_DIR$/src/main/org/kyll/webgame/scene/dao/ibatis/sqlmap/Scene.xml" /> <option value="$PROJECT_DIR$/src/config/sqlmap-config.xml" /> <option value="$PROJECT_DIR$/web/WEB-INF/webpage/engine/start.jsp" /> <option value="$PROJECT_DIR$/web/index.jsp" /> <option value="$PROJECT_DIR$/src/main/org/kyll/webgame/engine/controller/EngineController.java" /> </list> </option> </component> <component name="LogFilters"> <option name="FILTER_ERRORS" value="false" /> <option name="FILTER_WARNINGS" value="false" /> <option name="FILTER_INFO" value="false" /> <option name="FILTER_DEBUG" value="false" /> <option name="CUSTOM_FILTER" /> </component> <component name="ModuleEditorState"> <option name="LAST_EDITED_MODULE_NAME" /> <option name="LAST_EDITED_TAB_NAME" /> </component> <component name="ProjectInspectionProfilesVisibleTreeState"> <entry key="Project Default"> <profile-state> <expanded-state> <State> <id>Inspections</id> </State> <State> <id>Spring Model</id> </State> </expanded-state> <selected-state> <State> <id>AOP</id> </State> </selected-state> </profile-state> </entry> </component> <component name="ProjectLevelVcsManager"> <OptionsSetting value="true" id="Add" /> <OptionsSetting value="true" id="Remove" /> <OptionsSetting value="true" id="Checkout" /> <OptionsSetting value="true" id="Update" /> <OptionsSetting value="true" id="Status" /> <OptionsSetting value="true" id="Edit" /> <ConfirmationsSetting value="0" id="Add" /> <ConfirmationsSetting value="0" id="Remove" /> </component> <component name="ProjectReloadState"> <option name="STATE" value="0" /> </component> <component name="ProjectView"> <navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5"> <flattenPackages /> <showMembers /> <showModules /> <showLibraryContents /> <hideEmptyPackages /> <abbreviatePackageNames /> <autoscrollToSource /> <autoscrollFromSource /> <sortByType /> </navigator> <panes> <pane id="PackagesPane"> <subPane> <PATH> <PATH_ELEMENT> <option name="myItemId" value="webgame" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewProjectNode" /> </PATH_ELEMENT> </PATH> </subPane> </pane> <pane id="ProjectPane"> <subPane> <PATH> <PATH_ELEMENT> <option name="myItemId" value="webgame" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> </PATH_ELEMENT> </PATH> <PATH> <PATH_ELEMENT> <option name="myItemId" value="webgame" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="webgame" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> </PATH> <PATH> <PATH_ELEMENT> <option name="myItemId" value="webgame" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="webgame" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="src" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> </PATH> </subPane> </pane> <pane id="Scope" /> <pane id="Favorites" /> </panes> </component> <component name="PropertiesComponent"> <property name="project.structure.last.edited" value="Modules" /> <property name="GoToFile.includeJavaFiles" value="false" /> <property name="project.structure.proportion" value="0.15" /> <property name="options.splitter.main.proportions" value="0.3" /> <property name="recentsLimit" value="5" /> <property name="MemberChooser.sorted" value="false" /> <property name="options.lastSelected" value="preferences.applicationServers" /> <property name="project.structure.side.proportion" value="0.2" /> <property name="MemberChooser.copyJavadoc" value="false" /> <property name="GoToClass.toSaveIncludeLibraries" value="false" /> <property name="MemberChooser.showClasses" value="true" /> <property name="GoToClass.includeLibraries" value="false" /> <property name="options.searchVisible" value="true" /> <property name="options.splitter.details.proportions" value="0.2" /> </component> <component name="RestoreUpdateTree"> <UpdateInfo date="Moments ago" ActionInfo="_Update"> <UpdatedFiles> <FILE-GROUP> <option name="myUpdateName" value="Updated from server" /> <option name="myStatusName" value="Changed on server" /> <option name="mySupportsDeletion" value="false" /> <option name="myCanBeAbsent" value="false" /> <option name="myId" value="CHANGED_ON_SERVER" /> <FILE-GROUP> <option name="myUpdateName" value="Updated" /> <option name="myStatusName" value="Changed" /> <option name="mySupportsDeletion" value="false" /> <option name="myCanBeAbsent" value="false" /> <option name="myId" value="UPDATED" /> <PATH vcs="svn" revision="586">E:\project\webgame\src\main\org\kyll\webgame\player\dao\ibatis\PlayerDaoImpl.java</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\src\main\org\kyll\webgame\player\dao\PlayerDao.java</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\src\main\org\kyll\webgame\player\model\Player.java</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\src\main\org\kyll\webgame\player\facade\PlayerFacade.java</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\src\main\org\kyll\webgame\player\facade\impl\PlayerFacadeImpl.java</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\src\main\org\kyll\webgame\engine\controller\EngineController.java</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\src\main\org\kyll\webgame\scene\dao\ibatis\SceneDaoImpl.java</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\src\main\org\kyll\webgame\scene\dao\SceneDao.java</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\src\main\org\kyll\webgame\scene\facade\impl\SceneFacadeImpl.java</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\src\main\org\kyll\webgame\scene\facade\SceneFacade.java</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\src\main\org\kyll\webgame\business\model\User.java</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\web\WEB-INF\decorators.xml</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\web\WEB-INF\web.xml</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\web\decorators\main.jsp</PATH> </FILE-GROUP> <FILE-GROUP> <option name="myUpdateName" value="Created" /> <option name="myStatusName" value="Created" /> <option name="mySupportsDeletion" value="false" /> <option name="myCanBeAbsent" value="false" /> <option name="myId" value="CREATED" /> <PATH vcs="svn" revision="586">E:\project\webgame\src\main\org\kyll\webgame\player\factory</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\src\main\org\kyll\webgame\player\factory\PlayerFactory.java</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\src\main\org\kyll\webgame\Const.java</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\web\WEB-INF\webpage\engine\main.jsp</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\web\WEB-INF\webpage\business</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\web\WEB-INF\webpage\business\player</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\web\WEB-INF\webpage\business\scene</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\web\WEB-INF\webpage\business\item</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\web\WEB-INF\webpage\business\item\edit.jsp</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\web\WEB-INF\webpage\business\item\list.jsp</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\web\WEB-INF\webpage\business\user</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\web\WEB-INF\webpage\business\user\list.jsp</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\web\decorators\business.jsp</PATH> </FILE-GROUP> <FILE-GROUP> <option name="myUpdateName" value="Deleted" /> <option name="myStatusName" value="Deleted" /> <option name="mySupportsDeletion" value="false" /> <option name="myCanBeAbsent" value="true" /> <option name="myId" value="REMOVED_FROM_REPOSITORY" /> <PATH vcs="svn" revision="586">E:\project\webgame\web\WEB-INF\webpage\engine\start.jsp</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\web\WEB-INF\webpage\player</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\web\WEB-INF\webpage\scene</PATH> <PATH vcs="svn" revision="586">E:\project\webgame\web\WEB-INF\webpage\item</PATH> </FILE-GROUP> <FILE-GROUP> <option name="myUpdateName" value="Restored" /> <option name="myStatusName" value="Will be restored" /> <option name="mySupportsDeletion" value="false" /> <option name="myCanBeAbsent" value="false" /> <option name="myId" value="RESTORED" /> </FILE-GROUP> </FILE-GROUP> <FILE-GROUP> <option name="myUpdateName" value="Modified" /> <option name="myStatusName" value="Modified" /> <option name="mySupportsDeletion" value="false" /> <option name="myCanBeAbsent" value="false" /> <option name="myId" value="MODIFIED" /> </FILE-GROUP> <FILE-GROUP> <option name="myUpdateName" value="Skipped" /> <option name="myStatusName" value="Skipped" /> <option name="mySupportsDeletion" value="false" /> <option name="myCanBeAbsent" value="false" /> <option name="myId" value="SKIPPED" /> </FILE-GROUP> <FILE-GROUP> <option name="myUpdateName" value="Merged with conflicts" /> <option name="myStatusName" value="Will be merged with conflicts" /> <option name="mySupportsDeletion" value="false" /> <option name="myCanBeAbsent" value="false" /> <option name="myId" value="MERGED_WITH_CONFLICTS" /> </FILE-GROUP> <FILE-GROUP> <option name="myUpdateName" value="Merged with tree conflicts" /> <option name="myStatusName" value="Merged with tree conflicts" /> <option name="mySupportsDeletion" value="false" /> <option name="myCanBeAbsent" value="false" /> <option name="myId" value="MERGED_WITH_TREE_CONFLICT" /> </FILE-GROUP> <FILE-GROUP> <option name="myUpdateName" value="Merged" /> <option name="myStatusName" value="Will be merged" /> <option name="mySupportsDeletion" value="false" /> <option name="myCanBeAbsent" value="false" /> <option name="myId" value="MERGED" /> </FILE-GROUP> <FILE-GROUP> <option name="myUpdateName" value="Not in repository" /> <option name="myStatusName" value="Not in repository" /> <option name="mySupportsDeletion" value="true" /> <option name="myCanBeAbsent" value="false" /> <option name="myId" value="UNKNOWN" /> </FILE-GROUP> <FILE-GROUP> <option name="myUpdateName" value="Locally added" /> <option name="myStatusName" value="Locally added" /> <option name="mySupportsDeletion" value="false" /> <option name="myCanBeAbsent" value="false" /> <option name="myId" value="LOCALLY_ADDED" /> </FILE-GROUP> <FILE-GROUP> <option name="myUpdateName" value="Locally removed" /> <option name="myStatusName" value="Locally removed" /> <option name="mySupportsDeletion" value="false" /> <option name="myCanBeAbsent" value="false" /> <option name="myId" value="LOCALLY_REMOVED" /> </FILE-GROUP> <FILE-GROUP> <option name="myUpdateName" value="Switched" /> <option name="myStatusName" value="Switched" /> <option name="mySupportsDeletion" value="false" /> <option name="myCanBeAbsent" value="false" /> <option name="myId" value="SWITCHED" /> </FILE-GROUP> <FILE-GROUP> <option name="myUpdateName" value="Merged with property conflicts" /> <option name="myStatusName" value="Will be merged with property conflicts" /> <option name="mySupportsDeletion" value="false" /> <option name="myCanBeAbsent" value="false" /> <option name="myId" value="MERGED_WITH_PROPERTY_CONFLICT" /> </FILE-GROUP> </UpdatedFiles> </UpdateInfo> </component> <component name="RunManager" selected="Tomcat Server.webgame"> <configuration default="true" type="Remote" factoryName="Remote"> <option name="USE_SOCKET_TRANSPORT" value="true" /> <option name="SERVER_MODE" value="false" /> <option name="SHMEM_ADDRESS" value="javadebug" /> <option name="HOST" value="localhost" /> <option name="PORT" value="5005" /> <method> <option name="BuildArtifacts" enabled="false" /> </method> </configuration> <configuration default="true" type="Applet" factoryName="Applet"> <module name="" /> <option name="MAIN_CLASS_NAME" /> <option name="HTML_FILE_NAME" /> <option name="HTML_USED" value="false" /> <option name="WIDTH" value="400" /> <option name="HEIGHT" value="300" /> <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" /> <option name="VM_PARAMETERS" /> <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> <option name="ALTERNATIVE_JRE_PATH" /> <method> <option name="BuildArtifacts" enabled="false" /> <option name="Make" enabled="true" /> </method> </configuration> <configuration default="true" type="Application" factoryName="Application"> <option name="MAIN_CLASS_NAME" /> <option name="VM_PARAMETERS" /> <option name="PROGRAM_PARAMETERS" /> <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> <option name="ALTERNATIVE_JRE_PATH" /> <option name="ENABLE_SWING_INSPECTOR" value="false" /> <option name="ENV_VARIABLES" /> <option name="PASS_PARENT_ENVS" value="true" /> <module name="" /> <envs /> <method> <option name="BuildArtifacts" enabled="false" /> <option name="Make" enabled="true" /> </method> </configuration> <configuration default="true" type="#com.intellij.j2ee.web.tomcat.TomcatRunConfigurationFactory" factoryName="Local"> <deployment /> <server-settings> <option name="DEPLOY_TOMCAT_APPS" value="false" /> <option name="BASE_DIRECTORY_NAME" value="" /> </server-settings> <predefined_log_file id="TOMCAT_LOCALHOST_LOG_ID" enabled="true" /> <method> <option name="BuildArtifacts" enabled="false" /> <option name="Make" enabled="true" /> </method> </configuration> <configuration default="false" name="webgame" type="#com.intellij.j2ee.web.tomcat.TomcatRunConfigurationFactory" factoryName="Local" APPLICATION_SERVER_NAME="Tomcat 6.0.20"> <option name="OPEN_IN_BROWSER" value="false" /> <option name="OPEN_IN_BROWSER_URL" value="http://localhost:8080/webgame/" /> <deployment> <artifact name="webgame:war exploded"> <settings> <option name="CONTEXT_PATH" value="/webgame" /> </settings> </artifact> </deployment> <server-settings> <option name="DEPLOY_TOMCAT_APPS" value="false" /> <option name="BASE_DIRECTORY_NAME" value="Tomcat_6_webgame" /> </server-settings> <predefined_log_file id="TOMCAT_LOCALHOST_LOG_ID" enabled="true" /> <RunnerSettings RunnerId="Debug"> <option name="DEBUG_PORT" value="3950" /> <option name="TRANSPORT" value="0" /> <option name="LOCAL" value="true" /> </RunnerSettings> <RunnerSettings RunnerId="Run" /> <ConfigurationWrapper VM_VAR="JAVA_OPTS" RunnerId="Debug"> <option name="USE_ENV_VARIABLES" value="true" /> <STARTUP> <option name="USE_DEFAULT" value="true" /> <option name="SCRIPT" value="E:/java/apache-tomcat-6.0.24/bin/catalina.bat" /> <option name="VM_PARAMETERS" value="" /> <option name="PROGRAM_PARAMETERS" value=" run" /> </STARTUP> <SHUTDOWN> <option name="USE_DEFAULT" value="true" /> <option name="SCRIPT" value="E:/java/apache-tomcat-6.0.24/bin/catalina.bat" /> <option name="VM_PARAMETERS" value="" /> <option name="PROGRAM_PARAMETERS" value=" stop" /> </SHUTDOWN> </ConfigurationWrapper> <ConfigurationWrapper VM_VAR="JAVA_OPTS" RunnerId="Run"> <option name="USE_ENV_VARIABLES" value="true" /> <STARTUP> <option name="USE_DEFAULT" value="true" /> <option name="SCRIPT" value="E:/java/apache-tomcat-6.0.24/bin/catalina.bat" /> <option name="VM_PARAMETERS" value="" /> <option name="PROGRAM_PARAMETERS" value=" run" /> </STARTUP> <SHUTDOWN> <option name="USE_DEFAULT" value="true" /> <option name="SCRIPT" value="E:/java/apache-tomcat-6.0.24/bin/catalina.bat" /> <option name="VM_PARAMETERS" value="" /> <option name="PROGRAM_PARAMETERS" value=" stop" /> </SHUTDOWN> </ConfigurationWrapper> <method> <option name="BuildArtifacts" enabled="true"> <artifact name="webgame:war exploded" /> </option> </method> </configuration> <list size="1"> <item index="0" class="java.lang.String" itemvalue="Tomcat Server.webgame" /> </list> <configuration name="<template>" type="JUnit" default="true" selected="false"> <option name="MAIN_CLASS_NAME" /> <option name="VM_PARAMETERS" /> <option name="PARAMETERS" /> <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> </configuration> <configuration name="<template>" type="WebApp" default="true" selected="false"> <Host>localhost</Host> <Port>5050</Port> </configuration> </component> <component name="ShelveChangesManager" show_recycled="false" /> <component name="SvnConfiguration" maxAnnotateRevisions="500"> <option name="USER" value="" /> <option name="PASSWORD" value="" /> <option name="LAST_MERGED_REVISION" /> <option name="UPDATE_RUN_STATUS" value="false" /> <option name="MERGE_DRY_RUN" value="false" /> <option name="MERGE_DIFF_USE_ANCESTRY" value="true" /> <option name="UPDATE_LOCK_ON_DEMAND" value="false" /> <option name="IGNORE_SPACES_IN_MERGE" value="false" /> <option name="DETECT_NESTED_COPIES" value="true" /> <option name="CHECK_NESTED_FOR_QUICK_MERGE" value="false" /> <option name="IGNORE_SPACES_IN_ANNOTATE" value="true" /> <option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" /> <configuration useDefault="false">C:\Documents and Settings\Administrator\Application Data\Subversion</configuration> <myIsUseDefaultProxy>false</myIsUseDefaultProxy> <supportedVersion>125</supportedVersion> </component> <component name="SvnFileUrlMappingImpl"> <option name="myMappingRoots"> <list> <SvnCopyRootSimple> <option name="myVcsRoot" value="E:\project\webgame" /> <option name="myCopyRoot" value="E:\project\webgame" /> </SvnCopyRootSimple> </list> </option> <option name="myMoreRealMappingRoots"> <list> <SvnCopyRootSimple> <option name="myVcsRoot" value="E:\project\webgame" /> <option name="myCopyRoot" value="E:\project\webgame" /> </SvnCopyRootSimple> </list> </option> </component> <component name="ToolWindowManager"> <frame x="-4" y="-4" width="1374" height="748" extended-state="0" /> <editor active="false" /> <layout> <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> <window_info id="Web" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.24981357" sideWeight="0.39490446" order="2" side_tool="true" content_ui="tabs" /> <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" /> <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.24981357" sideWeight="0.40286624" order="1" side_tool="true" content_ui="tabs" /> <window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24981357" sideWeight="0.6003185" order="0" side_tool="false" content_ui="tabs" /> <window_info id="Debug" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.39968154" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32961783" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" /> <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" /> </layout> </component> <component name="VcsManagerConfiguration"> <option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" /> <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" /> <option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" /> <option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" /> <option name="PERFORM_EDIT_IN_BACKGROUND" value="true" /> <option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" /> <option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" /> <option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" /> <option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" /> <option name="ENABLE_BACKGROUND_PROCESSES" value="false" /> <option name="CHANGED_ON_SERVER_INTERVAL" value="60" /> <option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" /> <option name="FORCE_NON_EMPTY_COMMENT" value="false" /> <option name="LAST_COMMIT_MESSAGE" value="" /> <option name="MAKE_NEW_CHANGELIST_ACTIVE" value="true" /> <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" /> <option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" /> <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" /> <option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" /> <option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" /> <option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" /> <option name="ACTIVE_VCS_NAME" /> <option name="UPDATE_GROUP_BY_PACKAGES" value="false" /> <option name="UPDATE_GROUP_BY_CHANGELIST" value="false" /> <option name="SHOW_FILE_HISTORY_AS_TREE" value="false" /> <option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" /> </component> <component name="XDebuggerManager"> <breakpoint-manager /> </component> <component name="editorHistoryManager"> <entry file="file://$PROJECT_DIR$/src/main/org/kyll/webgame/item/controller/ItemController.java"> <provider selected="true" editor-type-id="text-editor"> <state line="11" column="0" selection-start="293" selection-end="293" vertical-scroll-proportion="0.0" /> </provider> </entry> <entry file="file://$PROJECT_DIR$/src/main/org/kyll/webgame/player/controller/PlayerController.java"> <provider selected="true" editor-type-id="text-editor"> <state line="7" column="13" selection-start="236" selection-end="236" vertical-scroll-proportion="0.0" /> </provider> </entry> <entry file="file://$PROJECT_DIR$/src/main/org/kyll/webgame/scene/controller/SceneController.java"> <provider selected="true" editor-type-id="text-editor"> <state line="7" column="13" selection-start="233" selection-end="233" vertical-scroll-proportion="0.0" /> </provider> </entry> <entry file="file://$PROJECT_DIR$/src/main/org/kyll/webgame/scene/facade/impl/SceneFacadeImpl.java"> <provider selected="true" editor-type-id="text-editor"> <state line="8" column="13" selection-start="272" selection-end="272" vertical-scroll-proportion="0.0" /> </provider> </entry> <entry file="file://$PROJECT_DIR$/src/main/org/kyll/webgame/scene/dao/ibatis/SceneDaoImpl.java"> <provider selected="true" editor-type-id="text-editor"> <state line="7" column="13" selection-start="207" selection-end="207" vertical-scroll-proportion="0.0" /> </provider> </entry> <entry file="file://$PROJECT_DIR$/src/main/org/kyll/webgame/item/dao/ibatis/sqlmap/Item.xml"> <provider selected="true" editor-type-id="text-editor"> <state line="6" column="0" selection-start="0" selection-end="194" vertical-scroll-proportion="0.0" /> </provider> </entry> <entry file="file://$PROJECT_DIR$/src/main/org/kyll/webgame/engine/controller/EngineController.java"> <provider selected="true" editor-type-id="text-editor"> <state line="35" column="44" selection-start="1267" selection-end="1267" vertical-scroll-proportion="0.0"> <folding /> </state> </provider> </entry> <entry file="file://$PROJECT_DIR$/src/main/org/kyll/webgame/engine/facade/EngineFacade.java"> <provider selected="true" editor-type-id="text-editor"> <state line="2" column="17" selection-start="58" selection-end="58" vertical-scroll-proportion="0.0" /> </provider> </entry> <entry file="file://$PROJECT_DIR$/src/main/org/kyll/webgame/engine/facade/impl/EngineFacadeImpl.java"> <provider selected="true" editor-type-id="text-editor"> <state line="6" column="13" selection-start="168" selection-end="168" vertical-scroll-proportion="0.0" /> </provider> </entry> <entry file="file://$PROJECT_DIR$/src/config/sqlmap-config.xml"> <provider selected="true" editor-type-id="text-editor"> <state line="21" column="73" selection-start="712" selection-end="712" vertical-scroll-proportion="0.0" /> </provider> </entry> <entry file="file://$PROJECT_DIR$/src/main/org/kyll/webgame/player/dao/ibatis/sqlmap/Player.xml"> <provider selected="true" editor-type-id="text-editor"> <state line="5" column="25" selection-start="182" selection-end="182" vertical-scroll-proportion="0.0" /> </provider> </entry> <entry file="file://$PROJECT_DIR$/src/main/org/kyll/webgame/scene/dao/ibatis/sqlmap/Scene.xml"> <provider selected="true" editor-type-id="text-editor"> <state line="5" column="24" selection-start="181" selection-end="181" vertical-scroll-proportion="0.0" /> </provider> </entry> <entry file="file://$PROJECT_DIR$/web/index.jsp"> <provider selected="true" editor-type-id="text-editor"> <state line="6" column="26" selection-start="116" selection-end="116" vertical-scroll-proportion="0.0" /> </provider> </entry> <entry file="file://$PROJECT_DIR$/web/WEB-INF/spring-servlet.xml"> <provider selected="true" editor-type-id="text-editor"> <state line="8" column="0" selection-start="593" selection-end="593" vertical-scroll-proportion="0.0" /> </provider> <provider editor-type-id="com.intellij.spring.perspectives.SpringBeansStructureEditorProvider"> <state /> </provider> </entry> <entry file="file://$PROJECT_DIR$/web/WEB-INF/spring-context.xml"> <provider selected="true" editor-type-id="text-editor"> <state line="27" column="49" selection-start="1621" selection-end="1621" vertical-scroll-proportion="0.0"> <folding> <element signature="tag#prop#0;tag#props#0;tag#property#2;tag#bean#0;tag#beans#0" expanded="true" /> <element signature="tag#prop#1;tag#props#0;tag#property#2;tag#bean#0;tag#beans#0" expanded="true" /> <element signature="tag#prop#2;tag#props#0;tag#property#2;tag#bean#0;tag#beans#0" expanded="true" /> </folding> </state> </provider> <provider editor-type-id="com.intellij.spring.perspectives.SpringBeansStructureEditorProvider"> <state /> </provider> </entry> <entry file="file://$PROJECT_DIR$/src/config/jdbc.properties"> <provider selected="true" editor-type-id="text-editor"> <state line="4" column="0" selection-start="159" selection-end="159" vertical-scroll-proportion="0.2060606"> <folding /> </state> </provider> </entry> </component> <component name="masterDetails"> <states> <state key="ArtifactsStructureConfigurable.UI"> <settings> <artifact-editor /> <last-edited>webgame:war exploded</last-edited> <splitter-proportions> <option name="proportions"> <list> <option value="0.2" /> <option value="0.5" /> </list> </option> </splitter-proportions> </settings> </state> <state key="FacetStructureConfigurable.UI"> <settings> <last-edited>EJB</last-edited> <splitter-proportions> <option name="proportions"> <list> <option value="0.2" /> </list> </option> </splitter-proportions> </settings> </state> <state key="GlobalLibrariesConfigurable.UI"> <settings> <splitter-proportions> <option name="proportions"> <list> <option value="0.2" /> </list> </option> </splitter-proportions> </settings> </state> <state key="JdkListConfigurable.UI"> <settings> <last-edited>1.6</last-edited> <splitter-proportions> <option name="proportions"> <list> <option value="0.2" /> </list> </option> </splitter-proportions> </settings> </state> <state key="ModuleStructureConfigurable.UI"> <settings> <last-edited>Spring|webgame</last-edited> <splitter-proportions> <option name="proportions"> <list> <option value="0.2" /> </list> </option> </splitter-proportions> </settings> </state> <state key="ProjectLibrariesConfigurable.UI"> <settings> <last-edited>lib</last-edited> <splitter-proportions> <option name="proportions"> <list> <option value="0.2" /> </list> </option> </splitter-proportions> </settings> </state> </states> </component> </project>
相关推荐
IntelliJ IDEA 12 创建 Java Web 项目并用 Tomcat 发布 IntelliJ IDEA 12 是一款功能强大的集成开发环境(IDE),广泛应用于 Java 项目开发。Java Web 项目是最常见的项目类型之一,Tomcat 是最流行的 Java Web ...
在本文中,我们将详细探讨如何使用IntelliJ IDEA 12创建一个Java Web项目,并配置Tomcat服务器进行发布。IntelliJ IDEA是一个强大的Java集成开发环境,它支持各种类型的项目开发,包括Java Web应用程序。以下是步骤...
根据给定文件内容,本文将详细解释在IntelliJ IDEA中部署Eclipse Web项目到Tomcat服务器的具体步骤,包括项目导入、Web配置、Artifact配置以及启动运行等相关知识点。 首先,我们要明白IntelliJ IDEA与Eclipse是两...
在本文中,我们将详细探讨如何使用IntelliJ IDEA 12创建一个Java Web项目,并将其部署到Tomcat 6.0.36服务器上。这是一个关键的开发步骤,特别是对于那些从事Java Web应用开发的人员来说。我们还将讨论一些安全方面...
2. 创建 Java Web 项目在 IntelliJ IDEA 的欢迎主界面中,点击 Create New Project:在 New Project 对话框的左侧选择 Java Enterprice,在右侧确保 Project SDK 是 1.8 版本,Java EE version 为 Java EE 8(也可以...
IntelliJ IDEA 配置 Tomcat 服务器 IntelliJ IDEA 是一款功能强大且popular的集成开发环境(IDE),它提供了许多实用的功能来帮助开发者快速和高效地开发应用程序。Tomcat 是一个开源的Web应用服务器,广泛应用于...
IntelliJ IDEA 12 创建 Java Web 项目并用 Tomcat 发布汇编 IntelliJ IDEA 12 是一款功能强大的集成开发环境(IDE),它提供了大量的工具和功能来帮助开发者快速创建和管理 Java 项目。其中,创建 Java Web 项目是 ...
在 IntelliJ IDEA 中配置 Tomcat 服务器是开发 Java Web 应用程序的重要步骤,它使得开发者能够在本地环境中测试和调试应用。以下将详细解释这个过程: 1. **下载和安装 Tomcat**: 配置 Tomcat 服务器的第一步是...
在本文中,我们将深入探讨如何使用IntelliJ IDEA 2017版本创建一个Web项目并进行Tomcat服务器的配置和部署。这是一个适用于初学者的教程,旨在帮助开发者熟悉IDEA的基本操作和Web应用程序的开发流程。 首先,我们...
在这个项目中,我们将深入探讨如何使用IntelliJ IDEA创建一个Gradle项目,并配置Tomcat服务器,以便于运行和部署Java Web应用程序。 首先,我们创建Gradle项目。在IntelliJ IDEA中,选择"新建项目",然后在项目类型...
在使用IntelliJ IDEA进行开发时,往往需要与Web服务器集成,如Apache Tomcat,以便于测试和运行Java Web项目。本教程将详细介绍如何在IntelliJ IDEA中配置已安装的Tomcat 9.0服务器。 首先,确保您已经在本地计算机...
IntelliJ IDEA,简称IDEA,是一款非常流行的Java IDE,它提供了强大的功能来支持SVN版本控制和Tomcat服务器的配置与部署。以下是根据标题、描述和部分内容生成的相关知识点。 **1. IDEA导入SVN项目** SVN...
IntelliJ IDEA 12 web项目部署详细说明 IntelliJ IDEA 是一款功能强大且流行的集成开发环境(IDE),它提供了许多实用的功能来帮助开发者快速高效地开发项目。下面,我们将详细介绍如何使用 IntelliJ IDEA 12 部署 ...
3. "Intellij Idea 2017创建web项目及tomcat部署实战 - shindoyang - 博客园.url":这是一个链接,指向一篇关于如何在IntelliJ IDEA 2017版本中创建Web项目以及配置和部署Tomcat服务器的详细博客文章。用户可以参考...
本教程主要介绍IntelliJ IDEA的安装与配置、基本使用方法、常见问题解决技巧、以及与Maven、Git、Tomcat等工具的集成。 首先,IntelliJ IDEA的安装是相对简单的,安装过程中需要选择适当的版本(32位或64位),并...
对于Web项目的开发,IntelliJ IDEA允许开发者配置Web应用的目录结构,包括指定Web资源、配置文件、Servlet容器等。文档中提到了Web项目的目录结构、Spring框架的集成以及数据库和MyBatis的配置。 10. 自定义设置与...
IntelliJ Idea开发工具详细使用文档 IntelliJ IDEA是一款功能强大且灵活的集成开发环境(IDE),由 JetBrains 公司开发。它支持多种编程语言,包括 Java、Groovy、Kotlin、Scala 等。下面是 IntelliJ IDEA 的详细...
总结来说,通过上述步骤,我们可以在IntelliJ IDEA中配置Tomcat 9作为Web应用的服务器环境。这为进行Java Web开发提供了便利,并且通过熟练掌握这一技能,可以显著提高开发效率,保证项目能够顺利部署和运行。