USING STRUTS2 DOJO PLUGIN TAGS GIVES COMPILER ERROR (JDev 10.1.3.3)
Hi.
Using Struts 2.1.2 dojo plugin tags gives compiler error:
Error(9): Couldn't instantiate tag sx:head (class: null). Be sure that the tag class is available...
(translated from spanish)
So I can't run the application.
When configured, tags can be chosen from the component palette and the normal struts tags (not the dojo ones) do compile and run ok.
From service request:
Examining Jdeveloper's console message, its apparent that the tag library is not compatible with JDeveloper because of
the following warning:
oracle.jsp.logger.JspMessages.warningInvalidTldVersion:J2EE JSP-0033
Someone has any workaroun or solution?
### Steps to Reproduce ###
1.- Create new application and project
2.- Copy Struts 2.1.2 jar libs including dojo somewhere (for example in WEB-INF/lib)
3.- Associate the jars to the project (Libraries option in Project Properties)
4.- Create a JSP
5.- Use a dojo tag in the JSP
<%@ taglib uri="/struts-dojo-tags" prefix="sx"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
<title>index</title>
<sx:head/>
</head>
<body></body>
</html>
6.- Compile
Hi did you solved this problem? I have same
Similar Messages
-
Why does plsql give compilation error for select statement?
When I run following plsql program, it gives compilation error. Could somebody please point me out what could be wrong here? I am running it from system user.
create or replace procedure drop_user_proc (iname in varchar2) is
uname varchar2(100);
begin
select username into uname from dba_users where username = upper(iname);
end drop_user_proc;
select username from dba_users where username = upper('newuser');
When I run it, I get following error. dba_users is there that is the reason it works outside plsql block, but it doesn't from inside block.
SQL> @t4
Warning: Procedure created with compilation errors.
USERNAME
NEWUSER
SQL> show err
Errors for PROCEDURE DROP_USER_PROC:
LINE/COL ERROR
4/3 PL/SQL: SQL Statement ignored
4/35 PL/SQL: ORA-00942: table or view does not existRole based grants are not available within the stored procedures.
Only explicit grants are recognized when compiling stored code.
You need to grant select on that table to the user where you are creating this procedure. -
hey I'm getting an error when I'm using an AU plugin its saying"Host Error: illegal midi databyte2 an my logic crashes any tips? thanks
There is a minor issue with Logic where Logic sends corrupt midi data
to plugins when recording in loopmode (looptool),
we've released a hotfix for ElectraX 1.2 as well as fixed this in
ElectraX 1.3 (currently in beta).
ElectraX 1.3 is set for release in early July and if I remember
correct the current ElectraX demo also has the fix included,
so redownloading/reinstalling the demo should take care of it.
In the meanwhile another possible workaround is to switch off
loopmode when recording.
from TONE 2 -
i tryed doing everything all it does is give me errors( 2005,3194,28). my itunes is up-to-date. no i havent jailbroken and well i need help! i modefied my host files with # 74.208.10.249 gs.apple.com # 127.0.0.1 gs.apple.com. Im not sure what to do!
Try this http://osxdaily.com/2010/12/06/error-3194-fix-for-itunes/
-
"asant build" for bookstore1 example in j2ee tutorial gives "compile error"
Hello everybody,
I am trying to run "asant build" command to build package for bookstore1 example given in j2ee tutorials.
I installed my j2ee tutorial 1.4 in "c:\java\j2eetutorial14" and my example is in "c:\java\j2eetutorial\examples\web\bookstore1".
My j2ee SDK with appliation server is installed in C:\sun\appserver.
When i run the "asant build" command in "c:\java\j2eetutorial\examples\web\bookstore1" directory i get compile error with last few lines as follows.
[javac] location: class servlets.ShowCartServlet
[javac] } catch (BookNotFoundException ex) {
[javac] ^
[javac] C:\Java\j2eetutorial14\examples\web\bookstore1\src\servlets\ShowCartServlet.jav
:136: cannot resolve symbol
[javac] symbol : class ShoppingCartItem
[javac] location: class servlets.ShowCartServlet
[javac] ShoppingCartItem item = (ShoppingCartItem) i.next();
[javac] ^
[javac] C:\Java\j2eetutorial14\examples\web\bookstore1\src\servlets\ShowCartServlet.jav
:136: cannot resolve symbol
[javac] symbol : class ShoppingCartItem
[javac] location: class servlets.ShowCartServlet
[javac] ShoppingCartItem item = (ShoppingCartItem) i.next();
[javac] ^
[javac] C:\Java\j2eetutorial14\examples\web\bookstore1\src\servlets\ShowCartServlet.jav
:137: cannot resolve symbol
[javac] symbol : class BookDetails
[javac] location: class servlets.ShowCartServlet
[javac] bd = (BookDetails) item.getItem();
[javac] ^
[javac] 69 errors
BUILD FAILED
file:C:/Java/j2eetutorial14/examples/web/bookstore1/build.xml:68: Compile failed; see the compiler error output for details.
Total time: 2 seconds
Can some one please help me.
thanksWhen i run the "asant build" command in
"c:\java\j2eetutorial\examples\web\bookstore1"
directory i get compile error with last few lines as
follows.Did you package the bookstore common files as described in Chapter 3? My guess is that you didn't include bookstore.jar from <INSTALL>/j2eetutorial14/examples/build/web/bookstore/dist/.
-Ian Evans
Sun Microsystems
J2EE Tutorial team -
I have tried a lot searching for such issue, but cd not find any solution which
cd help me.
We have a jsp which compiles well in one enviroment, but does not compile in another.
The enviroment in which it compiles is as follows:
OS: Solaris 2.6, Patch level 32
wls version: 6.1 with no service pak
The enviroment in which it does not compile is as follows:
OS: Solaris 8, Patch level 19
wls version: 6.1 with no service pak
In the second enviroment, it gives the folowing error, when invoked...
//error start....
/requisition/reqteamwiz.jsp(532): scriptlet close brace '}' unbalanced at line
532 which breaks scope '_base_service_scope_'
probably occurred due to an error in /requisition/reqteamwiz.jsp line 532:
<strong><font face="Verdana" size="1"><input type="button" style="font-family:
Verdana; font-size: 8pt" name="B1" value=" Submit " onClick="FrontPage_Form1_Validator(document.FrontPage_Form1,
'<%= i%>')"></td></font></strong>
//error end
The line seems OK, and this works fine in the first enviroment.
Cd anyone pls give any suggestions or references as to any known issues with the
second enviroment.
Thanks a lot...
[email protected] (David M. Karr) wrote:
>>>>>> "vinay" == vinay s <[email protected]> writes:
>
> vinay> I have tried a lot searching for such issue, but cd not find
>any solution which
> vinay> cd help me.
> vinay> We have a jsp which compiles well in one enviroment, but does
>not compile in another.
> vinay> The enviroment in which it compiles is as follows:
> vinay> OS: Solaris 2.6, Patch level 32
> vinay> wls version: 6.1 with no service pak
>
> vinay> The enviroment in which it does not compile is as follows:
> vinay> OS: Solaris 8, Patch level 19
> vinay> wls version: 6.1 with no service pak
>
> vinay> In the second enviroment, it gives the folowing error, when
>invoked...
> vinay> //error start....
> vinay> /requisition/reqteamwiz.jsp(532): scriptlet close brace '}'
>unbalanced at line
> vinay> 532 which breaks scope '_base_service_scope_'
> vinay> probably occurred due to an error in /requisition/reqteamwiz.jsp
>line 532:
> vinay> <strong><font face="Verdana" size="1"><input type="button"
>style="font-family:
> vinay> Verdana; font-size: 8pt" name="B1" value=" Submit " onClick="FrontPage_Form1_Validator(document.FrontPage_Form1,
> vinay> '<%= i%>')"></td></font></strong>
> vinay> //error end
>
> vinay> The line seems OK, and this works fine in the first enviroment.
> vinay> Cd anyone pls give any suggestions or references as to any
>known issues with the
> vinay> second enviroment.
> vinay> Thanks a lot...
>
>If you use an expression scriptlet for an attribute value, it has to
>be the
>entire attribute value, not just a portion of it.
>
>--
>===================================================================
>David M. Karr ; Java/J2EE/XML/Unix/C++
>[email protected] ; SCJP; SCWCD
>
>
I am using the scriplet for entire value, seems the post got jumbled up.
FrontPage_Form1_Validator is a javascript function which takes 2 parameters, one
of which is provided by the expression scriplet.
<strong><font face="Verdana" size="1"><input type="button" style="font-family:
Verdana; font-size: 8pt" name="B1" value=" Submit " onClick="FrontPage_Form1_Validator(document.FrontPage_Form1,
'<%= i%>')"></td></font></strong>
-
Using Web Service in BPEL Causes Compile Error
I am trying to use a document style web service (accepts an
org.w3c.dom.Element as a parameter) in a BPEL process. I am using JDeveloper
to generate the web service, and to build the BPEL process. When I
incorporate the web service as a partnerlink and compile, I get the
following error:
[Error ORABPEL-10902]: compilation failed [Description]: in "bpel.xml", XML
parsing failed because "undefined part element. In WSDL at
"file.../myws.wsdl", message part element
"{htt//www.w3.org/2001/XMLSchema}any" is not defined in any of the schemas.
Please make sure the spelling of the element QName is correct and the WSDL
import is complete. ". [Potential fix]: n/a.
Basically, JDeveloper baulks at the wsdl it generated for the web service!
Files pasted in below.
The project is using Oracle Fusion Middleware. The target AS is Oracle AS
10.1.2.0.2 (J2EE1.3). My IDE is JDeveloper 10.1.2 (FYI, generates Oracle's
own style of web service).
Thanks
Ramen
Web Service WSDL:
<?xml version = '1.0' encoding = 'UTF-8'?>
<!--Generated by the Oracle JDeveloper 10g Web Services WSDL Generator-->
<!--Date Created: Tue Oct 10 10:12:57 BST 2006-->
<definitions
name="pvresourcews"
targetNamespace="http://ResourceServiceImpl.wsdl"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://ResourceServiceImpl.wsdl"
xmlns:ns1="http://IPvresourcews.xsd">
<types>
<schema
targetNamespace="http://IPvresourcews.xsd"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns="http://www.w3.org/2001/XMLSchema"/>
</types>
<message name="loadResources0Request">
<part name="resourceDoc" element="xsd:any"/>
</message>
<message name="loadResources0Response"/>
<portType name="ResourceServiceImplPortType">
<operation name="loadResources">
<input name="loadResources0Request"
message="tns:loadResources0Request"/>
<output name="loadResources0Response"
message="tns:loadResources0Response"/>
</operation>
</portType>
<binding name="ResourceServiceImplBinding"
type="tns:ResourceServiceImplPortType">
<soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="loadResources">
<soap:operation soapAction="" style="rpc"/>
<input name="loadResources0Request">
<soap:body use="literal" namespace="pvresourcews"/>
</input>
<output name="loadResources0Response">
<soap:body use="encoded" namespace="pvresourcews"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
</binding>
<service name="pvresourcews">
<port name="ResourceServiceImplPort"
binding="tns:ResourceServiceImplBinding">
<soap:address
location="http://localhost:9700/Proto-context-root/Pvresour
cews"/>
</port>
</service>
</definitions>
BPEL XML
<?xml version = '1.0' encoding = 'UTF-8'?>
<BPELSuitcase>
<BPELProcess id="TestProtoWSBPEL-03" src="TestProtoWSBPEL-03.bpel">
<partnerLinkBindings>
<partnerLinkBinding name="client">
<property name="wsdlLocation">TestProtoWSBPEL-03.wsdl</property>
</partnerLinkBinding>
<partnerLinkBinding name="PartnerLink_1">
<property name="wsdlLocation">IPvresourcewsRef.wsdl</property>
</partnerLinkBinding>
</partnerLinkBindings>
</BPELProcess>
</BPELSuitcase>
--Can you please elaborate on that since I am facing a similar issue. I am going as per the instructions in Order Booking Guide and while deploying the process I face this error "Error:
[Error ORABPEL-10902]: compilation failed
[Description]: in "bpel.xml", XML parsing failed because "undefined part element.
In WSDL at "http://dscp02513.TechMahindra.com:9700/orabpel/default/CreditRatingService/CreditRatingService?wsdl", message part element "{http://services.otn.com}rating" is not defined in any of the schemas.
Please make sure the spelling of the element QName is correct and the WSDL import is complete.
[Potential fix]: n/a. -
Plugin container give me error and firefox hangs and take me to crash
this is error and also most of the time it also not responding i m using windows XP SP3 completely updated and also using the avast anti virus flash make ur service low down and the fact is that u r not able to create ur own HTML5 script so follow what adobe tells u to do and dont make things verse more for us coz u people are really not taking a good look at flash even u know every thing is running on flash now so take this shit pluggin container out of this and merge them in one and also it take about 50% of cpu if u play flash game on facebook
Hi spidey23, the original problem in this thread is that the QuickTime 7.6.6 plugin is marked as vulnerable and needing an update, but none is available for MacOS X 10.6.
It sounds as though you might be having a different problem, which is you are not getting any sound accompanying your videos -- is that the problem? If so, you might want to start a new thread which focuses on that issue and mention in the subject line (the question) that it's on the Mac. You can do that here:
https://support.mozilla.org/questions/new/desktop/fix-problems -
PDF App works fine on Acrobat 7 but gives compilation Errors in Livecycle
Hello,
I have a PDF application that has been working fine in Acrobat 7 for years (for a Fortune 50 company). We had to upgrade our environments to Acrobat 8/9 and the same app either HANGS or Shuts Down when opened in Acrobat 8/9 (Reader and Professional). When I timed some sections of the code, I got down to the following statement (Click action of a button):
xfa.host.resetData(Home.APHomeSF.somExpression)
Where Home is a subform on page 1 and APHomeSF is a subform within Home form. This statement takes a fraction of a second in Pro 7 but 18 seconds in Pro 8. The APHomeSF subform has a checkbox, text field, date field and a button. Even when I changed the reset statement to resetting ONLY the checkbox:
xfa.host.resetData(Home.APHomeSF.FCB.somExpression)
Pro 8 still took 18 secs to reset the data. My question is that have any BASIC things changed in Acrobat 8/9 from Ver 7 that are deprecated or not supported, which may cause our application to take longer to run or just shut down.
I am using Livecycle Designer to edit the application. When I open the application in Livecyle and just save it, I get many "Argument mismatch in property or function argument" errors. Following is one of the places:
Generating PDF Document...
Font Service: Default font typeface is Myriad Pro.
Script failed (language is javascript; context is xfa[0].form[0].CopyContent[0].#subform[0].SPOA[0].SPOAdataRow[0])
script=viahScripts.noViahNulls();
var groupsArray = Builder.variables.soScript.getGroupsArray();
var name = CopyElementName.rawValue; // PROBLEM LINE
Error: Argument mismatch in property or function argument
Now, when I delete the line "var name = CopyElementName.rawValue" with the comment PROBLEM LINE, the error goes away. CopyElementName is just a drop-down list.
I don't understand what is wrong in this line for it to cause the Argument mismatch error.
Any help will be appreciated.... THANKS!
SunnyYou may try the forum LiveCycle Designer.
-
Compilation error in PL/SQL
Hi All,
Please find the strange query situation in PLSQL.
If i run the query without PLSQL block (i.e. declar begin end) it runs well and insert data
in table but if put the same query in PLSQL block it gives compilation error.
Following is the spool
SQL> select * from v$version;
BANNER
Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
PL/SQL Release 8.1.7.4.0 - Production
CORE 8.1.7.0.0 Production
TNS for IBM/AIX RISC System/6000: Version 8.1.7.4.0 - Production
NLSRTL Version 3.4.1.0.0 - Production
SQL> insert into smcbom_load_hours_temp
2 select data_set_name,deptclass,dept,smcbom_flex_budget.get_period(v_date) v_period,sum(v_hr),-1,sysdate,-1,sysdate
3 from (
4 select plan_level,sp.data_set_name,
5 sp.value1,smcbom_flex_budget.calculate_period_days(sp.period1),inweight ,
6 usagerate ,operationseq,percent,
7 sbov.group_id,sp.alloy,sp.planner_code,
8 sbov.days,sbov.totaloffsetdays,deptclass,dept,
9 decode(plan_level,1,(sp.value14/smcbom_flex_budget.calculate_period_days(sp.period14)) * (percent/100) * inweight * usagerate *
10 (SELECT MAX(INWEIGHT)
11 FROM SMCBOM_BOM_OPERATION_VIEW
12 WHERE ALLOY=sbov.alloy
13 AND PLANNER_CODE=sbov.planner_code
14 AND PLAN_LEVEL = 0
15 AND GROUP_ID = sbov.group_id ),
16 0,(sp.value14/smcbom_flex_budget.calculate_period_days(sp.period14)) * (percent/100) * inweight * usagerate ,
17 1) v_hr,
18 smcbom_flex_budget.get_start_date(sp.period14)+sbov.totaloffsetdays v_date,
19 sum(-sbov.totaloffsetdays)
20 over (partition by sp.alloy,sp.planner_code,sbov.group_id
21 order by plan_level asc,operationseq desc) new_offset
22 from smcbom_bom_operation_view sbov,smcbom_sales_prod_forecasts sp
23 where sbov.alloy= sp.alloy
24 and sbov.planner_code=sp.planner_code
25 and group_id=521136
26 )
27 group by data_set_name,deptclass,dept,smcbom_flex_budget.get_period(v_date);
23 rows created.
SQL> commit;
Commit complete.
SQL> declare
2 begin
3 insert into smcbom_load_hours_temp
4 select data_set_name,deptclass,dept,smcbom_flex_budget.get_period(v_date) v_period,sum(v_hr),-1,sysdate,-1,sysdate
5 from (
6 select plan_level,sp.data_set_name,
7 sp.value1,smcbom_flex_budget.calculate_period_days(sp.period1),inweight ,
8 usagerate ,operationseq,percent,
9 sbov.group_id,sp.alloy,sp.planner_code,
10 sbov.days,sbov.totaloffsetdays,deptclass,dept,
11 decode(plan_level,1,(sp.value14/smcbom_flex_budget.calculate_period_days(sp.period14)) * (percent/100) * inweight * usagerate *
12 (SELECT MAX(INWEIGHT)
13 FROM SMCBOM_BOM_OPERATION_VIEW
14 WHERE ALLOY=sbov.alloy
15 AND PLANNER_CODE=sbov.planner_code
16 AND PLAN_LEVEL = 0
17 AND GROUP_ID = sbov.group_id ),
18 0,(sp.value14/smcbom_flex_budget.calculate_period_days(sp.period14)) * (percent/100) * inweight * usagerate ,
19 1) v_hr,
20 smcbom_flex_budget.get_start_date(sp.period14)+sbov.totaloffsetdays v_date,
21 sum(-sbov.totaloffsetdays)
22 over (partition by sp.alloy,sp.planner_code,sbov.group_id
23 order by plan_level asc,operationseq desc) new_offset
24 from smcbom_bom_operation_view sbov,smcbom_sales_prod_forecasts sp
25 where sbov.alloy= sp.alloy
26 and sbov.planner_code=sp.planner_code
27 and group_id=521136
28 )
29 group by data_set_name,deptclass,dept,smcbom_flex_budget.get_period(v_date);
30 end;
31 /
(SELECT MAX(INWEIGHT)
ERROR at line 12:
ORA-06550: line 12, column 2:
PLS-00103: Encountered the symbol "SELECT" when expecting one of the following:
( - + mod not null others <an identifier>
<a double-quoted delimited-identifier> <a bind variable> avg
count current exists max min prior sql stddev sum variance
execute forall time timestamp interval date
<a string literal with character set specification>
<a number> <a single-quoted SQL string>
ORA-06550: line 22, column 6:
PLS-00103: Encountered the symbol "(" when expecting one of the following:
, from
SQL> spool off;In some versions of Oracle (certainly all of the 8.x versions and earlier, and possibly some of the earlier 9 versions) the SQL parsers in the SQL engine and in the PL/SQL engine were different. Some features that worked directly in SQL did not work in PL/SQL. Scalar sub-queries were one of those things.
You have three options. You can try to re-write the insert statement to eliminate the PL/SQL unimplemented feature. You can create a view in the database for the SELECT part of the insert statement then use that view in the insert. finally, and least desirable, you can build the whole statment as a string, and use EXECUTE IMMEDIATE to run it in PL/SQL.
HTH
John -
Firefox 35.0.1
Windows 7 64 bit
Have Adobe Acrobat 10.1.13 and Nitro 9.5.2.29.
Have read all your articles about settings up the plugins but neither will work with Firefox.
IE11 had no problem.
Why do you make your software so heard to work with and so hard to get support?Do I understand this correctly. If you use the named plugins sites give a 404 error but with the plugins the sites do not ?
* Is that correct ?
* Are you able to provide some sample sites addresses that are public and demonstrate this problem ? -
Query giving compilation error
hi,
i am confused that my query is working fine on back-end sqlplus, but as i put to use it in my form
at pre-form to know count, it gives compilation error;
sqlplus
SELECT COUNT(*) M_CNT1
FROM(
SELECT POH_CODE||'-'||POH_NO CODE,NVL(POH_FREIGHT_lc_amount,0)
-NVL((
SELECT SUM(FTH_LC_AMOUNT)
FROM FIN_TXN_HEADER
WHERE FTH_REF_CODE = POH_CODE
AND FTH_REF_NO = POH_NO
AND FTH_ACNT_CODE = 'AC1009'
GROUP BY FTH_REF_CODE,FTH_REF_NO),0) NET, POH_CODE, POH_NO
FROM PURCHASE_ORDER_HEADEr
WHERE NVL(POH_FREIGHT_LC_AMOUNT,0) > 0);
M_CNT1
1
in pre-form
declare
m_cnt1 number;
BEGIN
SELECT COUNT(*) INTO M_CNT1
FROM(
SELECT NVL(POH_FREIGHT_lc_amount,0)
-NVL((
SELECT SUM(FTH_LC_AMOUNT)
FROM FIN_TXN_HEADER
WHERE FTH_REF_CODE = POH_CODE
AND FTH_REF_NO = POH_NO
AND FTH_ACNT_CODE = 'AC1009'
GROUP BY FTH_REF_CODE,FTH_REF_NO),0) NET
FROM PURCHASE_ORDER_HEADER
WHERE NVL(POH_FREIGHT_LC_AMOUNT,0) > 0);
END;return error;
Error 103 at line 11, column 2
Encountered the symbol "SELECT" when expecting on of the following:
( - + mod not null others<an identifier>
<a double-quoted delimited-identifier> <a bind variable> avg
count current exists max min prior sql stddev sum variance
cast<a string literal with character se specification>
<a number> <a single-quoted SQL string>
Error 103 at line 16, column 36
Encountered the symbol "," when expecting on of the following:
) intersect minus union
i think the problem is continuation line or single quote.
what is it can anybody help me please? tyvm.>
Error is in this line.
Use : before M_CNT1hi Navneet,
m_cnt1 is neither a db-or-a-non-db-block item.
so how come i used : sign before m_cnt1.
i guess the problem is below sonewhere may be,
-NVL((
SELECT SUM(FTH_LC_AMOUNT) --- line 11
OR
GROUP BY FTH_REF_CODE,FTH_REF_NO),0) NET --line 16 -
I am using AJAX for search functionality in our appication which involves ADF JSF,jspx pages in JDeveloper 10.1.3.3.0. When I compile the following code it compiles fine without error in jdk1.5 but gives compilation error in jdk1.4.2_15.
public List<String> autoCompleteFindUniqueNames(String searchString){
UniqueEmployeeNamesImpl hits = this.getUniqueEmployeeNames1();
hits.setNamedWhereClauseParam("searchPrefix",searchString.toUpperCase()+ "%");
hits.setRangeSize(5);
hits.executeQuery();
ArrayList resultset = new ArrayList((int)hits.getEstimatedRowCount());
for (Row row:hits.getAllRowsInRange()){
resultset.add((String)row.getAttribute("LastName"));
return resultset;
Compilation error giving on the line " for (Row row:hits.getAllRowsInRange()){ "
and it says " Error ; Expected "
Can somebody helpme out what should I change on this line in order to compile this ?
Thanks in advance,
RamFrank,
Thanks for your response. I removed <String> after LIST and it compiles. But the problem
is with the following iterator code which is giving error while compiling in jdk1.4.2_15. Trying to find out the equivalent iterator code of the following which is in jdk1.5
Row row:hits.getAllRowsInRange()
Thanks,
Ram -
Compilation error for code in Solaris 8 which was compiled in SUNOS 4.1.3
Hi,
I compiled the C source files in Solaris 8 which was earlier compiled in SUNOS 4.1.3(Solaris 1.1).
On compiling I get following discrepencies: 1. Executable size are considerably different.
2. I am using some X windoes system library, it gives compilation error like "prototype mismatch 2 arguments passed when 3 required". "improper member use: fd " fd is the member od display structure.
3. "identifier redeclared: shmat current : function() returning pointer to char
previous: function(int, pointer to const void, int) returning pointer to void : "/usr/include/sys/shm.h""
4. Also I am getting "cg error :..: Disk quota exceeded " while compiling one of the modules.
Please let me know solution of all/any of these.
Thanks in advance!!
Edited by: SmithaIVR on Dec 3, 2008 2:20 AMSounds like ancient code that no longer matches current API's.
Theres not much option except to rewrite those bits. -
AspectJ usage for compilation error on field/class Member type
Hello,
I have stuck up with impleamentation of functionality to achieve following-
I have class ABC and have multiple members in that. I want to give compiler error if the field type is List or non-primitive. I am trying this with AspectJ. But could not accomplish the task. Can somebody please suggest me some method or way to get this done ?
Thanks.anj77 wrote:
Hello,
I have stuck up with impleamentation of functionality to achieve following-
I have class ABC and have multiple members in that. I want to give compiler error if the field type is List or non-primitive. I am trying this with AspectJ. But could not accomplish the task. Can somebody please suggest me some method or way to get this done ?Yes, that kind of check pretty straightforward to implement with an annotation processor.
I suggest using JDK 6 and javac for this task. To get started, see the packages javax.annotation.processing and javax.lang.model.*; also the JDK comes with an example checker in
sample/javac/processing/src/CheckNameProcessor.java
Maybe you are looking for
-
Need an app or a script to find a list of files and retrieve them
A few years ago at an old job I used an application that could search a hard drive for a list of images all in one shot. The names of the images were typed into a txt file. the text file was used as the search list and the application would report ba
-
Recently I have had difficulty sending text messages. It seems that I can only text people who have iphones and even then it is spotty. I will have 4 bars and LTE and it will not send my text. Also, I can no longer send my imessages as text messages.
-
USB to micro USB charging question
I was about to buy an in-car charger for my 9630. Since i have an in-car usb port, I;m wondering if I can just get a USB to microUSB cable, connect the phone to the car, and get a charge. Thanks, jwp48
-
App world network error code 40820
Hi i have issues with App world v3 with an error code 40820 which says they cant connect to the network server. I have tried all the resolutions possible in the support from blackberry but it still dosen't work. I can view apps to download but i cant
-
Why is the upgrade to Yosemite so slow? Taking 22+ hours to upgrade.