pathelement doesn't support the "localhost" attribute
来源:互联网 发布:mysql默认链接地址 编辑:程序博客网 时间:2024/05/21 17:22
pathelement doesn't support the "localhost" attribute
localhost 写错了,EJB的 build文件中:
<?xml version="1.0" encoding="UTF-8"?>
<project name="HelloWorld" basedir=".">
<property name="src.dir" value="${basedir}/src" />
<property environment="env" />
<property name="jboss.home" value="${env.JBOSS_HOME}" />
<property name="jboss.server.config" value="default" />
<property name="build.dir" value="${basedir}/build" />
<path id="build.classpath">
<fileset dir="${jboss.home}/client">
<include name="*.jar" />
</fileset>
<pathelement location="${build.dir}" />
</path>
<target name="prepare">
<delete dir="${build.dir}" />
<mkdir dir="${build.dir}" />
</target>
<target name="compile" depends="prepare" description="编译">
<javac srcdir="${src.dir}" destdir="${build.dir}">
<classpath refid="build.classpath"/>
</javac>
</target>
<target name="ejbjar" depends="compile" description="创建EJB发布包">
<jar jarfile="${basedir}/${ant.project.name}.jar">
<fileset dir="${build.dir}">
<include name="**/*.class" />
</fileset>
</jar>
</target>
<target name="deploy" depends="ejbjar" description="发布EJB">
<copy file="${basedir}/${ant.project.name}.jar" todir="${jboss.home}/server/${jboss.server.config}/deploy" />
</target>
<target name="undeploy" description="卸载EJB">
<delete
file="${jboss.home}/server/${jboss.server.config}/deploy/${ant.project.name}.jar" />
</target>
</project>
这是模板。
红色部分是出错的位置
- pathelement doesn't support the "localhost" attribute
- if doesn't support the "condition"attribute 问题解决
- if doesn't support the "condition"attribute 问题解决
- The used table type doesn't support FULLTEXT indexes 错误
- PointToPointNetDevice doesn't support TapBridgeHelper
- mysql The used table type doesn’t support FULLTEXT indexes 解决方案
- TypeError: Type str doesn't support the buffer API的解决办法
- Mysql #1214 - The used table type doesn't support FULLTEXT index错误原因
- mySQL错误: The used table type doesn't support FULLTEXT indexes
- MySQL中The used table type doesn't support FULLTEXT indexes解决办法
- mysql The used table type doesn’t support FULLTEXT indexes 解决方案
- NDK support for project 'XXXX' is disabled because the project doesn't contain any valid native
- Doesn't WPF6.1 support jre1.5 ?
- universalimageloader uil doesn't support scheme(protocol
- 'range' object doesn't support item deletion
- why vue.js doesn't support templateURL
- 'range' object doesn't support item deletion
- WARNING: GPT (GUID Partition Table) detected on '/dev/sdd'! The util fdisk doesn't support GPT. Use
- java项目开发流程
- 为团队打造的Twitter :Teambox 发布网页版协作工具(转自SOHU.COM,author:译言)
- XAMPP启动中的一些问题及解决办法
- grub rescue救援模式的处理
- The value of attribute "description" associated with an element type "target" must not contain the '<' character.
- pathelement doesn't support the "localhost" attribute
- invalid byte 1 of 1-byte UTF-8 sequence
- 如何统一的实现 减少 空表查询操作
- 通関士の仕事って大変?
- linux 下 eclipse+XAMPP+pdt+xdebug
- 关于面试时项目的介绍
- Web开发人员应当知道的15个开源项目
- 安装调试器,学习memory controller
- 自己写的小游戏《传送门》