Problem: failed to create task or type nbdeploy?? SOLVED!!After a long time , I was testing my project in Java EE but unfortunately i encountered the following the error:Problem: failed to create task or type nbdeployCause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any BUILD FAILED (total time: 2 seconds)
Then after several futile attempts , I finally get a solution to my problem and it really helped me a lot.
Actually , i disabled the plugins responsible for Java EE and Web related applications .To enable this , Go to Tools >> Plugins >>Installed Tab >> Check Java Web and EE checkbox.
The problem is solved.
|
Thursday, 27 August 2015
Wednesday, 1 July 2015
List of Alt Codes for entering Greek Letters
Alt Code | Symbol | Description |
---|---|---|
Alt 224 | α | Alpha |
Alt 225 | ß | Beta |
Alt 226 | Γ | Gamma |
Alt 235 | δ | Delta |
Alt 238 | ε | Epsilon |
Alt 233 | Θ | Theta |
Alt 227 | π | Pi |
Alt 230 | µ | Mu |
Alt 228 | Σ | Uppercase Sigma |
Alt 229 | σ | Lowercase sigma |
Alt 231 | τ | Tau |
Alt 232 | Φ | Uppercase Phi |
Alt 237 | φ | Lowercase Phi |
Alt 234 | Ω | Omega |
Tuesday, 30 June 2015
Make Your Own Header File ?
Step1 : Type this Code
1
2
3
4
|
int add(int a,int b)
{
return(a+b);
}
|
- In this Code write only function definition as you write in General C Program
Step 2 : Save Code
- Save Above Code with [.h ] Extension .
- Let name of our header file be myhead [ myhead.h ]
- Compile Code if required.
Step 3 : Write Main Program
1
2
3
4
5
6
7
8
|
#include
#include"myhead.h"
void main() {
int num1 = 10, num2 = 10, num3;
num3 = add(num1, num2);
printf("Addition of Two numbers : %d", num3);
}
|
- Include Our New Header File .
- Instead of writing < myhead.h> use this terminology “myhead.h”
- All the Functions defined in the myhead.h header file are now ready for use .
- Directly call function add(); [ Provide proper parameter and take care of return type ]
Note
- While running your program precaution to be taken : Both files [ myhead.h and sample.c ] should be in same folder.
Friday, 26 June 2015
What Is the Difference between .conatiner and .container-fluid in bootstrap???
Quick version:
.container
has one fixed width for each screen size in bootstrap (xs,sm,md,lg); .container-fluid
expands to fill the available width.
The difference between
container
and container-fluid
comes from these lines of CSS:@media (min-width: 568px) {
.container {
width: 550px;
}
}
@media (min-width: 992px) {
.container {
width: 970px;
}
}
@media (min-width: 1200px) {
.container {
width: 1170px;
}
}
Depending on the width of the viewport that the webpage is being viewed on, the
container
class gives its div a specific fixed width. These lines don't exist in any form for container-fluid
, so its width changes every time the viewport width changes.
So for example, say your browser window is 1000px wide. As it's greater than the min-width of 992px, your
.container
element will have a width of 970px. You then slowly widen your browser window. The width of your .container
won't change until you get to 1200px, at which it will jump to 1170px wide and stay that way for any larger browser widths.
Your
.container-fluid
element, on the other hand, will constantly resize as you make even the smallest changes to your browser width.Sunday, 21 June 2015
Multiplication Using Multiplication
(Urdhva Tiryagbhyaam)
Consider the following example :
37 * 33
Step 1 : Write it as follows
37
33
Step 2 : Multiply the left most column vertically and write it below.
Multiply 3 * 3 to get 9
37
33
9
Step 3 : Next multiply diagonally and add
i.e. (3*3) + (3*7) = 9 + 21 = 30
Since 30 is a 2 digit number put the last digit (here '0' ) next to 9 and the other digits (here '3' ) below 9
37
33
90
3
Step 4 : Now multiply the RHS column and put it below and total to get the Answer.
37
33
901
32
1221
Hence 1221 is the Answer
This method can be extended for any number of digits .....following are the various steps:-
Thursday, 28 May 2015
Error while starting Tomcat Server version x?SOLVED!!!!
Sometimes following error is encountered while starting Apache Tomcat Server which can be resolved very easily :
ERROR
"Windows could not start the Apache Tomcat 6 on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 0"
In place of "error code 0" it can be any error code "x"
Solution
When an error of this sort come. please go to start -> configure tomcat -> startup -> Mode -> java similarly start -> configure tomcat -> shutdown -> Mode -> java
Subscribe to:
Posts (Atom)