我正在参加企业应用程序开发课程.我是JSF的新手.我正在尝试使用GlassF 3.1使用JSF和Netbeans IDE部署我的应用程序.
我得到的错误如下所示.
Error occurred during deployment: Exception while preparing the app : Unable to load the EJB module. DeploymentContext does not contain any EJB. Check the archive to ensure correct packaging for F:\Seagate\docs backup\NetBeansProjects\ent-app-dev\Slamka_Project1\build\web.
If you use EJB component annotations to define the EJB, and an ejb or web deployment descriptor is also used, please make sure that the deployment descriptor references a Java EE 5 or higher version schema, and that the metadata-complete attribute is not set …
这似乎是一个非常常见的问题,但到目前为止我所尝试的一切都没有解决方案.我正在为我的PK使用ID字段并且已启用自动增量.这发生在DEV环境中,其中数据已与当前数据合并.
任何帮助将不胜感激.
我正在使用SQL Server.我还运行了DBCC CHECKIDENT([ceschema.ce_attendeeCredit])并且身份似乎正确排列.我认为可能存在更深层次的问题.
INSERT INTO tblpersonCredit
(
personID,
CreditID,
Amount,
ReferenceNo,
CreatedBy
)
VALUES
(
<cfqueryparam value="#arguments.AttendeeCredit.getAttendeeID()#" CFSQLType="cf_sql_integer" />,
<cfqueryparam value="#arguments.AttendeeCredit.getCreditID()#" CFSQLType="cf_sql_integer" />,
<cfqueryparam value="#arguments.AttendeeCredit.getAmount()#" CFSQLType="cf_sql_float" null="#not len(arguments.AttendeeCredit.getAmount())#" />,
<cfqueryparam value="#arguments.AttendeeCredit.getReferenceNo()#" CFSQLType="cf_sql_varchar" null="#not len(arguments.AttendeeCredit.getReferenceNo())#" />,
<cfqueryparam value="#arguments.AttendeeCredit.getCreatedBy()#" CFSQLType="cf_sql_integer" />
)
Run Code Online (Sandbox Code Playgroud) 我正在尝试实现一些插件并找到引用arguments_但是,它正在undefined控制台中出现.我在网上找不到这个变量的任何引用,但它似乎是在其他JS代码中找到的东西.
任何帮助,将不胜感激.